Merge pull request #1617 from omnivore-app/fix/email-endpoint-url

Fix the email endpoint for the import-handler
This commit is contained in:
Jackson Harper
2023-01-05 18:38:02 +08:00
committed by GitHub

View File

@ -7,7 +7,7 @@ export const EMAIL_USER_URL = (() => {
if (!process.env.INTERNAL_SVC_ENDPOINT) {
throw `Environment not configured correctly, no SVC endpoint`
}
return (process.env.INTERNAL_SVC_ENDPOINT ?? '') + '/api/user/email'
return (process.env.INTERNAL_SVC_ENDPOINT ?? '') + 'api/user/email'
})()
export const CONTENT_FETCH_URL = process.env.CONTENT_FETCH_GCF_URL