Commit Graph

9 Commits

Author SHA1 Message Date
dumbmoron
315ddb17c1
web/onDemand: check blockId is string, early return if not 2024-07-06 08:59:02 +00:00
wukko
f9ce6ba8cc
core/web: update response functions & clean up 2024-05-16 22:36:55 +06:00
wukko
e2d1913043
web: more ipad accommodations and clean up
- moved all user agent toggles to (legacy) frontend, like it should have always been
- removed unnecessary building
2024-05-11 01:05:24 +06:00
jsopn
5fbf35a8d3
refactor: centralize envs and their defaults in modules/config (#464)
* feat(config): centralized env variables and their default values

* fix: fip `corsWildcard` variable check in `corsConfig`

* fix(config): use already declared variables and default some strings to undefined

* fix: check processingPriority against NaN
2024-04-29 13:56:05 +02:00
wukko
e16ee6c1d3 env: readable environment variables in all files
apiPort -> API_PORT
apiURL -> API_URL
apiName -> API_NAME
cors -> ENABLE_CORS
cookiePath -> COOKIE_PATH

webPort -> WEB_PORT
webURL -> WEB_URL
showSponsors -> SHOW_SPONSORS
isBeta -> IS_BETA
2024-03-05 19:08:59 +06:00
wukko
afab7f94a7 api & web: ports in env are no longer strictly required 2023-12-02 22:01:58 +06:00
wukko
43a3ebf475 7.0: ui refresh and more 2023-08-05 00:43:12 +06:00
wukko
55f1e4b704 tumblr audio, youtube vr, updated setup script, further mitosis accommodations 2023-06-05 12:43:04 +06:00
wukko
9edc4bd61b new inner layout
- one main controlling script (cobalt.js).
- added api server name to serverInfo endpoint.
- one dockerfile.
- less mess.
2023-05-22 01:13:05 +06:00