diff --git a/src/nitter.nim b/src/nitter.nim index 0221f56..cf75a24 100644 --- a/src/nitter.nim +++ b/src/nitter.nim @@ -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, ""