Fix embedding of static files
This commit is contained in:
parent
8edd857d22
commit
a9e304ee08
2 changed files with 2 additions and 5 deletions
|
|
@ -26,10 +26,7 @@ func main() {
|
|||
router.Handle(
|
||||
"/static/",
|
||||
logger(
|
||||
http.StripPrefix(
|
||||
"/static/",
|
||||
http.FileServer(http.FS(conf.Static)),
|
||||
),
|
||||
http.FileServer(http.FS(conf.Static)),
|
||||
),
|
||||
)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue