fox-send/server/routes
Cullen Walsh 02e8cb264f Add detect_base_url config
This diff adds the detect_base_url config, controlled by the
DETECT_BASE_URL env variable. When set to true, the BASE_URL setting is
ignored, and the base_url is derived from the request protocol and host
header.

Test Plan: Started up a local instance in my homelab, running docker
node:15 image with a nginx reverse proxy. Configured nginx to use the
same backend with multiple hostnames on https. Opened in browser and
confirmed og:url meta tag uses correct url.
2021-05-05 22:19:11 -07:00
..
delete.js Remove metrics #4 2021-03-15 19:56:51 +01:00
download.js Remove metrics #4 2021-03-15 19:56:51 +01:00
exists.js hook multifile to ui 2018-08-03 16:10:00 -07:00
filelist.js added oauth refresh token support 2020-10-16 15:46:24 +02:00
index.js Add detect_base_url config 2021-05-05 22:19:11 -07:00
info.js refactored server 2018-02-09 15:03:05 -08:00
metadata.js use actual file size in dl progress. detect cancelled stream 2018-07-23 15:18:38 -07:00
pages.js Remove legal page, add no affiliation text in footer 2021-01-09 19:14:42 +01:00
params.js Remove obsolete anonymous limits 2021-04-12 15:19:02 +02:00
password.js refactored server 2018-02-09 15:03:05 -08:00
upload.js increase file id to 8 bytes 2019-03-26 09:32:44 -07:00
webmanifest.js Remove Firefox branding from app name in front-end 2020-10-15 18:48:54 +02:00
ws.js Remove obsolete anonymous limits 2021-04-12 15:19:02 +02:00