adjusted logic to cater for viewl all path and dnsapplications

This commit is contained in:
2026-03-11 10:40:48 +00:00
parent 9c483ec655
commit f947821afa
3 changed files with 210 additions and 300 deletions
+8 -8
View File
@@ -6,8 +6,8 @@ module.exports = {
{
"domain": process.env.I18N_DOMAIN,
"defaultLocale": "cy",
"locales": ["cy"],
},
"locales": ["cy"]
}
],
"pages": {
"*": ["common", "search"],
@@ -22,18 +22,18 @@ module.exports = {
"/myportal/advancedsearchresults": ["search", "myportal", "case"],
"/myportal/searchresults": ["search", "myportal", "case"],
"/myportal/case": ["case"],
"/myportal/case/[ticketnumber]": ["case"],
"/myportal/case/[ticketnumber]": ["case", "myportal"],
"/myportal/dnsapplications": [
"search",
"dnsCommon",
"dnsApplications",
"case",
"case"
],
"/myportal/dnsdetails": [
"case",
"search",
"dnsCommon",
"dnsApplications",
"dnsApplications"
],
"/myportal/dns/*": ["dnsCommon", "case", "common"],
"/myportal/dns/[developmentName]": ["dnsCommon", "case", "common"],
@@ -51,7 +51,7 @@ module.exports = {
"case",
"myrepresentations",
"common",
"home",
"home"
],
"/myportal/error": ["myportal", "common"],
"/myportal/case/id/[incident]": ["case", "home"],
@@ -78,6 +78,6 @@ module.exports = {
"/auth/signin": ["common", "common", "auth"],
"/auth/verify-request": ["common", "common", "auth"],
"/auth/error": ["common", "common", "auth"],
"/admin": ["case"],
},
"/admin": ["case"]
}
};