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,
"pid": "/backend",
"pid": "/",
"type": 2,
"subtype": 1,
"name": "Dashboard",
"uri": "{/lang}/backend?{?}",
"uri": "{/prefix}?{?}",
"target": "self",
"icon": null,
"order": 1,

View File

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

View File

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