-
Notifications
You must be signed in to change notification settings - Fork 2
/
config.json
executable file
·25 lines (25 loc) · 1 KB
/
config.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
{
"routes":
[
{ "path": "/", "method":"post", "callback": "application#indexpost" },
{ "path": "/", "method":"get", "callback": "application#index" },
{ "path": "/logout", "method":"get", "callback": "application#logout" },
{ "path": "/home", "callback": "application#home" },
{ "path": "/users", "method": "get", "callback":"users#getUsers" },
{ "path": "/user", "method": "get", "callback":"users#show" },
{ "path": "/news", "method": "get", "callback":"news#getNews" },
{ "path": "/article", "method": "get", "callback":"news#show" },
{ "path": "/api/v1/time", "callback": "api#timedisplay" },
{ "path": "/module/config", "callback":"module_config#init"},
{ "path": "*", "method":"get", "callback":"application#errorpage"},
{ "path": "/api/stocks", "method":"get", "callback":"stocks#getStockQuotes"}
],
"filters":
[
{ "path": "user", "method":"get", "callback": "session_filter#validateSession" }
],
"websockets":
[
{ "event": "", "callback": ""}
]
}