Bump version to 1.0.3
webui: use fs.Sub to fix embed FS root so static assets are found Previously http.FileServer searched for assets/foo.css in the embed FS rooted at dist/, but only paths starting with dist/ resolve. fs.Sub strips the dist/ prefix so FileServer finds the actual files.
This commit is contained in:
+1
-1
@@ -20,7 +20,7 @@ import (
|
||||
"github.com/syncserver/internal/syncengine"
|
||||
)
|
||||
|
||||
var version = "1.0.2"
|
||||
var version = "1.0.3"
|
||||
|
||||
func main() {
|
||||
cfgPath := flag.String("config", "", "Path to config.yaml")
|
||||
|
||||
Reference in New Issue
Block a user