2019-09-23 14:12:20 +00:00
|
|
|
import jester
|
|
|
|
|
|
|
|
import router_utils
|
|
|
|
import ../types
|
|
|
|
import ../views/[general, about]
|
|
|
|
|
|
|
|
proc createUnsupportedRouter*(cfg: Config) =
|
|
|
|
router unsupported:
|
|
|
|
get "/about/feature":
|
2019-10-21 03:19:00 +00:00
|
|
|
resp renderMain(renderFeature(), request, cfg)
|
2019-09-23 14:12:20 +00:00
|
|
|
|
|
|
|
get "/intent/?@i?":
|
2019-10-21 03:19:00 +00:00
|
|
|
resp renderMain(renderFeature(), request, cfg)
|
2019-09-23 14:12:20 +00:00
|
|
|
|
|
|
|
get "/login/?@i?":
|
2019-10-21 03:19:00 +00:00
|
|
|
resp renderMain(renderFeature(), request, cfg)
|
2019-09-23 14:12:20 +00:00
|
|
|
|
|
|
|
get "/i/@i?/?@j?":
|
2020-06-01 00:22:56 +00:00
|
|
|
cond @"i" notin ["status", "lists"]
|
2019-10-21 03:19:00 +00:00
|
|
|
resp renderMain(renderFeature(), request, cfg)
|