Commit Graph

10 Commits

Author SHA1 Message Date
ManeraKai 5c92297a38 Added small description in config 2022-04-12 11:58:36 +03:00
orenom 97588806cd use primarily REDIS_URL env variable for config.redis_url - keep REDIS_HOST here for backwards compatibility 2022-01-21 17:54:40 +01:00
orenom 521eedeaf1 fix redis ignoring configs (fixes #41). now redis_url is used instead of redis_host and redis_port 2022-01-13 19:39:34 +01:00
Ming Di Leom 443bca6b43 refactor: async/await
- feat(deps): add 'got'
  * support redirect, retry on error and promise
- feat(deps): upgrade redis to v4
  * promise-based
- style: remove unnecessary 'else return'
2021-12-22 07:56:30 +00:00
orenom 55537a44d0 add cache control feature - wikiless can now empty the cached media files automatically 2021-12-17 18:06:04 +01:00
orenom b3d88c5b43 add User-Agent header for all Wikimedia requests 2021-06-30 03:19:22 +02:00
josiah c319b83807 added http_addr to config.js.template to bind wikiless to specific ip address 2021-06-12 19:57:26 -05:00
orenom deb0f20915 remove the custom port logic from PR #2, let's use config.domain instead 2021-05-27 19:58:32 +02:00
mgarciaisaia 61e0c455fc Allow customisation of cache expiration via envvars 2021-05-27 01:02:35 -03:00
orenom b6965a3bdc first commit 2021-05-05 17:22:33 +02:00