mirror of
https://github.com/0xJacky/nginx-ui.git
synced 2025-05-11 02:15:48 +02:00
fix panic
This commit is contained in:
parent
d09f484790
commit
08d3fbe0ff
1 changed files with 1 additions and 1 deletions
|
@ -54,7 +54,7 @@ func (f serverFileSystemType) Exists(prefix string, path string) bool {
|
|||
|
||||
func mustFS(dir string) (serverFileSystem static.ServeFileSystem) {
|
||||
|
||||
sub, err := fs.Sub(frontend.DistFS, filepath.Join("public", dir))
|
||||
sub, err := fs.Sub(frontend.DistFS, filepath.Join("dist", dir))
|
||||
|
||||
if err != nil {
|
||||
log.Println(err)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue