Adds a static website

This commit is contained in:
2016-01-25 10:08:56 +01:00
parent 5e83b3941d
commit 88ab821c58
5 changed files with 10 additions and 0 deletions

View File

@@ -74,5 +74,7 @@ func (a *appData) buildRouter() http.Handler {
}
})).Methods("GET")
router.PathPrefix("/").Handler(http.FileServer(http.Dir("static")))
return router
}

0
static/css/.gitkeep Normal file
View File

0
static/html/.gitkeep Normal file
View File

8
static/index.html Normal file
View File

@@ -0,0 +1,8 @@
<html>
<head>
<title>Hello World !</title>
</head>
<body>
<h1>Hello World!</h1>
</body>
</html>

0
static/js/.gitkeep Normal file
View File