using cis.php and routing news

This commit is contained in:
cgfhtw
2022-12-16 11:34:39 +01:00
parent c56b774d1d
commit 085ed750ca
3 changed files with 5 additions and 1 deletions
+1
View File
@@ -23,6 +23,7 @@ export default {
return '';
// TODO(chris): replace get params
url = url.childNodes[0].nodeValue + "";
url = url.replace(/^\.\.\/cms\/news\.php/, FHC_JS_DATA_STORAGE_OBJECT.app_root + FHC_JS_DATA_STORAGE_OBJECT.ci_router + '/CisVue/Cms/news');
url = url.replace(/^\.\.\//, FHC_JS_DATA_STORAGE_OBJECT.app_root);
return url;
}