Fix path to dist files
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
8e96fb45ed
commit
f5a6586b5f
2
main.go
2
main.go
|
@ -1225,7 +1225,7 @@ func main() {
|
||||||
})
|
})
|
||||||
|
|
||||||
http.Handle("/search/", sh)
|
http.Handle("/search/", sh)
|
||||||
http.Handle("/public/", http.StripPrefix("/public/", http.FileServer(http.Dir("./editor/dist"))))
|
http.Handle("/public/", http.StripPrefix("/public/", http.FileServer(http.Dir("./dist"))))
|
||||||
http.Handle("/save/", &saveHandler{})
|
http.Handle("/save/", &saveHandler{})
|
||||||
http.Handle("/edit/", &editHandler{})
|
http.Handle("/edit/", &editHandler{})
|
||||||
http.Handle("/history/", &historyHandler{})
|
http.Handle("/history/", &historyHandler{})
|
||||||
|
|
Loading…
Reference in New Issue
Block a user