PLT-4026 Use client dir constant for OAuth Authorization page (#3895)

Этот коммит содержится в:
enahum
2016-08-30 14:00:50 -03:00
коммит произвёл Corey Hulen
родитель 77656aea7f
Коммит 6c8746dbdc
3 изменённых файлов: 5 добавлений и 7 удалений

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

@@ -429,7 +429,7 @@ func authorizeOAuth(c *Context, w http.ResponseWriter, r *http.Request) {
w.Header().Set("Content-Type", "text/html")
w.Header().Set("Cache-Control", "no-cache, max-age=31556926, public")
http.ServeFile(w, r, utils.FindDir("webapp/dist")+"root.html")
http.ServeFile(w, r, utils.FindDir(model.CLIENT_DIR)+"root.html")
}
func getAccessToken(c *Context, w http.ResponseWriter, r *http.Request) {