Updated for new client
This commit is contained in:
parent
aa3e34a8a2
commit
88fff43b90
|
|
@ -26,8 +26,7 @@ func main() {
|
||||||
|
|
||||||
// Front-end resources
|
// Front-end resources
|
||||||
router.StaticFile("/", "client/index.html")
|
router.StaticFile("/", "client/index.html")
|
||||||
router.Static("/js", "client/js")
|
router.Static("/assets", "client/assets")
|
||||||
router.Static("/css", "client/css")
|
|
||||||
|
|
||||||
// Only allow CORS in development mode
|
// Only allow CORS in development mode
|
||||||
if server.Config.Mode == "development" {
|
if server.Config.Mode == "development" {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue