1
mirror of https://gitlab.com/commento/commento.git synced 2025-06-29 22:56:37 -04:00

frontend: use camelCase instead of snake_case

This commit is contained in:
Adhityaa
2018-06-16 18:55:27 +05:30
parent 91c2d047d5
commit ef21599109
12 changed files with 18 additions and 18 deletions

View File

@ -49,8 +49,8 @@ func initStaticRouter(router *mux.Router) error {
prefix := ""
if dir == "/js" {
prefix = "window.commento_origin='" + os.Getenv("ORIGIN") + "';\n"
prefix += "window.commento_cdn='" + os.Getenv("CDN_PREFIX") + "';\n"
prefix = "window.commentoOrigin='" + os.Getenv("ORIGIN") + "';\n"
prefix += "window.commentoCdn='" + os.Getenv("CDN_PREFIX") + "';\n"
}
gzip := (os.Getenv("GZIP_STATIC") == "true")