rename apijs with bug in go 1.11

This commit is contained in:
yourok
2018-09-14 11:05:53 +03:00
parent 792cf9c041
commit b0fe98c9a8

View File

@@ -60,7 +60,7 @@ func Start(port string) {
server.GET("/", mainPage)
server.GET("/echo", echoPage)
server.POST("/shutdown", shutdownPage)
server.GET("/js/api.js", templates.Api_JS)
server.GET("/js/api.js", templates.ApiJS)
go func() {
defer mutex.Unlock()