diff --git a/core/js/dist/login.js b/core/js/dist/login.js
index b999adcf754ea148951944a2279f3dad66ed8b65..55d007346a5519d8e30379be9aa02e62ce2c902d 100644
Binary files a/core/js/dist/login.js and b/core/js/dist/login.js differ
diff --git a/core/js/dist/login.js.map b/core/js/dist/login.js.map
index 01d0f442503d4ce5f8b6e1301ff73658fdba2da2..67495ad6d212078d48c0607fb5b66bd292eb9aae 100644
Binary files a/core/js/dist/login.js.map and b/core/js/dist/login.js.map differ
diff --git a/core/js/dist/main.js b/core/js/dist/main.js
index d1f49927c05d9a0fd823f0ad77cce26fdf0a1d8e..ef55c1d499267ca91bd03d34d8b4d40b5932985d 100644
Binary files a/core/js/dist/main.js and b/core/js/dist/main.js differ
diff --git a/core/js/dist/main.js.map b/core/js/dist/main.js.map
index 483de549d7d801b5e54b2024e1636cf8d4b12375..feed2e248f5f514c5db26c19c6badf051b8e7e9d 100644
Binary files a/core/js/dist/main.js.map and b/core/js/dist/main.js.map differ
diff --git a/core/js/dist/maintenance.js b/core/js/dist/maintenance.js
index 4165d064952bb054bebbf899337d625ae391d0ae..eb5fa28976e13c293a219afff731b84f2c39db4f 100644
Binary files a/core/js/dist/maintenance.js and b/core/js/dist/maintenance.js differ
diff --git a/core/js/dist/maintenance.js.map b/core/js/dist/maintenance.js.map
index bbb44dffe4a13fa535a0f6dd356e27fc27674e7e..641c9131c05193e87000b88b915d25385f36e87b 100644
Binary files a/core/js/dist/maintenance.js.map and b/core/js/dist/maintenance.js.map differ
diff --git a/core/src/OC/routing.js b/core/src/OC/routing.js
index 145f075c1b2ffa517033447577f9b73e57b0815e..8a8bd508d51b2a05dfc274a8c37710adc71b0910 100644
--- a/core/src/OC/routing.js
+++ b/core/src/OC/routing.js
@@ -91,7 +91,7 @@ export const generateUrl = (url, params, options) => {
 
 	}
 
-	if (oc_config.modRewriteWorking === true) {
+	if (OC.config.modRewriteWorking === true) {
 		return getRootPath() + _build(url, params);
 	}