- updated SQL Schema library `2.2.1` -> `2.2.2` - updated _Bootstrap Confirmation_ library `1.0.5` -> `1.0.7` - fixed a bug with "cookie accept" hint on /login page
21 lines
964 B
INI
21 lines
964 B
INI
; Route config
|
|
|
|
[routes]
|
|
; DB setup setup
|
|
; IMPORTANT: remove/comment this line after setup/update is finished!
|
|
GET @setup: /setup [sync] = Controller\Setup->init
|
|
; login (index) page
|
|
GET @login: / [sync] = Controller\AppController->init
|
|
; CCP SSO redirect
|
|
GET @sso: /sso/@action [sync] = Controller\Ccp\Sso->@action
|
|
; map page
|
|
GET @map: /map* [sync] = Controller\MapController->init
|
|
; admin panel
|
|
GET @admin: /admin* [sync] = Controller\Admin->dispatch
|
|
|
|
; ajax wildcard APIs (throttled)
|
|
GET|POST /api/@controller/@action [ajax] = Controller\Api\@controller->@action, 0, 512
|
|
GET|POST /api/@controller/@action/@arg1 [ajax] = Controller\Api\@controller->@action, 0, 512
|
|
GET|POST /api/@controller/@action/@arg1/@arg2 [ajax] = Controller\Api\@controller->@action, 0, 512
|
|
|