mirror of
https://github.com/Karaka-Management/oms-Dashboard.git
synced 2026-02-16 10:28:40 +00:00
Make app,localization in url optional+tld+subdomain
This commit is contained in:
parent
7af76cd757
commit
bf92ca72fc
|
|
@ -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,
|
||||||
|
|
|
||||||
|
|
@ -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,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user