mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-09-04 07:41:50 +08:00
feat(server): allow customize server external url (#7270)
closes https://github.com/toeverything/AFFiNE/issues/7252
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
// Convenient way to map environment variables to config values.
|
||||
AFFiNE.ENV_MAP = {
|
||||
AFFINE_SERVER_EXTERNAL_URL: ['server.externalUrl'],
|
||||
AFFINE_SERVER_PORT: ['server.port', 'int'],
|
||||
AFFINE_SERVER_HOST: 'server.host',
|
||||
AFFINE_SERVER_SUB_PATH: 'server.path',
|
||||
|
||||
Reference in New Issue
Block a user