Add proper http support

Fixes #223
This commit is contained in:
Zed 2021-01-08 02:25:43 +01:00
commit e1b3e9db76
8 changed files with 70 additions and 69 deletions

View file

@ -21,8 +21,7 @@ when defined(release):
addHandler(newConsoleLogger())
setLogFilter(lvlError)
let http = if cfg.useHttps: "https" else: "http"
stdout.write &"Starting Nitter at {http}://{cfg.hostname}\n"
stdout.write &"Starting Nitter at {getUrlPrefix(cfg)}\n"
stdout.flushFile
updateDefaultPrefs(fullCfg)