feat: Allow option publicServerURL to be set dynamically as asynchronous function (#9803)

This commit is contained in:
Daniel
2025-11-08 05:18:58 +11:00
committed by GitHub
parent f27b050e4d
commit 460a65cf61
9 changed files with 247 additions and 17 deletions

View File

@@ -495,7 +495,8 @@ module.exports.ParseServerOptions = {
},
publicServerURL: {
env: 'PARSE_PUBLIC_SERVER_URL',
help: 'Public URL to your parse server with http:// or https://.',
help:
'Optional. The public URL to Parse Server. This URL will be used to reach Parse Server publicly for features like password reset and email verification links. The option can be set to a string or a function that can be asynchronously resolved. The returned URL string must start with `http://` or `https://`.',
},
push: {
env: 'PARSE_SERVER_PUSH',