mirror of
https://github.com/Karaka-Management/oms-Dashboard.git
synced 2026-02-02 20:08: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,
|
||||
"pid": "/backend",
|
||||
"pid": "/",
|
||||
"type": 2,
|
||||
"subtype": 1,
|
||||
"name": "Dashboard",
|
||||
"uri": "{/lang}/backend?{?}",
|
||||
"uri": "{/prefix}?{?}",
|
||||
"target": "self",
|
||||
"icon": null,
|
||||
"order": 1,
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ use phpOMS\Account\PermissionType;
|
|||
use phpOMS\Router\RouteVerb;
|
||||
|
||||
return [
|
||||
'^.*/backend(\?.*)?$' => [
|
||||
'^.*(\?.*)?$' => [
|
||||
[
|
||||
'dest' => '\Modules\Dashboard\Controller\BackendController:viewDashboard',
|
||||
'verb' => RouteVerb::GET,
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user