Added js forwarding
This commit is contained in:
1
main.go
1
main.go
@@ -57,6 +57,7 @@ func setupFrontend(r *mux.Router) {
|
||||
|
||||
r.PathPrefix("/sass/").HandlerFunc(server.ServePath)
|
||||
r.PathPrefix("/img/").HandlerFunc(server.ServePath)
|
||||
r.PathPrefix("/js/").HandlerFunc(server.ServePath)
|
||||
|
||||
landingpage := template.Must(template.ParseFiles(filepath.Join(config.FrontendDir, "html", "landingpage.gohtml")))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user