diff --git a/router.go b/router.go index 009caca..250f460 100644 --- a/router.go +++ b/router.go @@ -74,5 +74,7 @@ func (a *appData) buildRouter() http.Handler { } })).Methods("GET") + router.PathPrefix("/").Handler(http.FileServer(http.Dir("static"))) + return router } diff --git a/static/css/.gitkeep b/static/css/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/static/html/.gitkeep b/static/html/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/static/index.html b/static/index.html new file mode 100644 index 0000000..c437a64 --- /dev/null +++ b/static/index.html @@ -0,0 +1,8 @@ + +
+