0xJacky před 3 roky
rodič
revize
08d3fbe0ff
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      router/routers.go

+ 1 - 1
router/routers.go

@@ -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)