diff --git a/svc/main.go b/svc/main.go index d4d9510..3e78146 100644 --- a/svc/main.go +++ b/svc/main.go @@ -397,7 +397,7 @@ func InitRoutes(pgDB *sql.DB, mssql *sql.DB, ml *mailer.GraphMailer) *mux.Router ) r.Handle( "/api/language/translations/runtime", - wrapAuthOnly(http.HandlerFunc(routes.GetRuntimeTranslationsHandler(pgDB))), + http.HandlerFunc(routes.GetRuntimeTranslationsHandler(pgDB)), ).Methods("GET", "OPTIONS") bindV3(r, pgDB, "/api/language/translations/{id}", "PUT", diff --git a/svc/middlewares/global_auth.go b/svc/middlewares/global_auth.go index d862e79..7215ebe 100644 --- a/svc/middlewares/global_auth.go +++ b/svc/middlewares/global_auth.go @@ -12,6 +12,7 @@ var publicPaths = []string{ "/api/auth/refresh", "/api/password/forgot", "/api/password/reset", + "/api/language/translations/runtime", "/api/product-images/", "/uploads/", }