enable api
This commit is contained in:
parent
29e4b240d6
commit
3448f8cdf6
1 changed files with 3 additions and 1 deletions
|
@ -11,7 +11,7 @@ import types, config, prefs, formatters, redis_cache, http_pool
|
|||
import views/[general, about]
|
||||
import routes/[
|
||||
preferences, timeline, status, media, search, rss, list, debug,
|
||||
unsupported, embed, resolver, router_utils, home,follow]
|
||||
unsupported, embed, resolver, router_utils, home, follow, twitter_api]
|
||||
|
||||
const instancesUrl = "https://github.com/zedeus/nitter/wiki/Instances"
|
||||
const issuesUrl = "https://github.com/zedeus/nitter/issues"
|
||||
|
@ -51,6 +51,7 @@ createMediaRouter(cfg)
|
|||
createEmbedRouter(cfg)
|
||||
createRssRouter(cfg)
|
||||
#createDebugRouter(cfg)
|
||||
createTwitterApiRouter(cfg)
|
||||
|
||||
settings:
|
||||
port = Port(cfg.port)
|
||||
|
@ -103,4 +104,5 @@ routes:
|
|||
extend resolver, ""
|
||||
extend embed, ""
|
||||
#extend debug, ""
|
||||
extend twitter_api, ""
|
||||
extend unsupported, ""
|
||||
|
|
Loading…
Reference in a new issue