修复错误
This commit is contained in:
@@ -149,6 +149,11 @@ function applyEnvOverrides(baseConfig) {
|
||||
const claimBaseUrl = String(process.env.CLAIM_BASE_URL || '').trim()
|
||||
if (claimBaseUrl) {
|
||||
nextConfig.orders.claimBaseUrl = claimBaseUrl
|
||||
} else {
|
||||
const appBaseUrl = String(process.env.APP_BASE_URL || '').trim()
|
||||
if (appBaseUrl) {
|
||||
nextConfig.orders.claimBaseUrl = `${appBaseUrl.replace(/\/+$/, '')}/#/claim`
|
||||
}
|
||||
}
|
||||
|
||||
const tokenTtlHours = parseInteger(process.env.CLAIM_TOKEN_TTL_HOURS)
|
||||
|
||||
Reference in New Issue
Block a user