Make app,localization in url optional+tld+subdomain

This commit is contained in:
Dennis Eichhorn 2019-03-09 23:21:29 +01:00
parent 7af76cd757
commit bf92ca72fc
3 changed files with 5 additions and 5 deletions

View File

@ -1,11 +1,11 @@
[ [
{ {
"id": 1000201001, "id": 1000201001,
"pid": "/backend", "pid": "/",
"type": 2, "type": 2,
"subtype": 1, "subtype": 1,
"name": "Dashboard", "name": "Dashboard",
"uri": "{/lang}/backend?{?}", "uri": "{/prefix}?{?}",
"target": "self", "target": "self",
"icon": null, "icon": null,
"order": 1, "order": 1,

View File

@ -6,7 +6,7 @@ use phpOMS\Account\PermissionType;
use phpOMS\Router\RouteVerb; use phpOMS\Router\RouteVerb;
return [ return [
'^.*/backend(\?.*)?$' => [ '^.*(\?.*)?$' => [
[ [
'dest' => '\Modules\Dashboard\Controller\BackendController:viewDashboard', 'dest' => '\Modules\Dashboard\Controller\BackendController:viewDashboard',
'verb' => RouteVerb::GET, 'verb' => RouteVerb::GET,

View File

@ -26,7 +26,7 @@
"load": [ "load": [
{ {
"pid": [ "pid": [
"/backend" "/"
], ],
"type": 4, "type": 4,
"for": "Content", "for": "Content",
@ -35,7 +35,7 @@
}, },
{ {
"pid": [ "pid": [
"/backend" "/"
], ],
"type": 5, "type": 5,
"from": "Dashboard", "from": "Dashboard",