Added initial api to allow clientside code to query serverside configuration

Этот коммит содержится в:
hmhealey
2015-08-11 14:36:45 -04:00
родитель 4c7cdb20f0
Коммит 3f5993eedf
3 изменённых файлов: 45 добавлений и 0 удалений

Просмотреть файл

@@ -40,6 +40,7 @@ func InitApi() {
InitWebSocket(r)
InitFile(r)
InitCommand(r)
InitConfig(r)
templatesDir := utils.FindDir("api/templates")
l4g.Debug("Parsing server templates at %v", templatesDir)