Added js forwarding

This commit is contained in:
2022-01-31 12:00:05 +01:00
parent 7a511dd35c
commit d8aeba7ff6

View File

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