Updated for new client

This commit is contained in:
Jan Zípek 2022-08-21 23:28:29 +02:00
parent aa3e34a8a2
commit 88fff43b90
Signed by: kamen
GPG Key ID: A17882625B33AC31
1 changed files with 1 additions and 2 deletions

View File

@ -26,8 +26,7 @@ func main() {
// Front-end resources
router.StaticFile("/", "client/index.html")
router.Static("/js", "client/js")
router.Static("/css", "client/css")
router.Static("/assets", "client/assets")
// Only allow CORS in development mode
if server.Config.Mode == "development" {