refactor(server): add default SERVER_ORIGIN_URL

This commit is contained in:
cooder
2024-03-03 10:32:16 +08:00
parent 2363bae36d
commit e2e9cb5db8
+1 -1
View File
@@ -9,7 +9,7 @@ const configuration = () => {
const authCode = process.env.AUTH_CODE;
const platformUrl = process.env.PLATFORM_URL || 'https://weread.111965.xyz';
const originUrl = process.env.SERVER_ORIGIN_URL;
const originUrl = process.env.SERVER_ORIGIN_URL || '';
const feedMode = process.env.FEED_MODE as 'fulltext' | '';