We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0cb0da0 commit 79cf066Copy full SHA for 79cf066
src/db/configuration/getConfiguration.ts
@@ -185,7 +185,9 @@ export const getConfiguration = async (): Promise<Config> => {
185
authDomain: "thirdweb.com",
186
authWalletEncryptedJson: await createAuthWalletEncryptedJson(),
187
minWalletBalance: "20000000000000000",
188
- accessControlAllowOrigin: mandatoryAllowedCorsUrls.join(","),
+ accessControlAllowOrigin: !!process.env.ACCESS_CONTROL_ALLOW_ORIGIN
189
+ ? process.env.ACCESS_CONTROL_ALLOW_ORIGIN
190
+ : mandatoryAllowedCorsUrls.join(","),
191
},
192
update: {},
193
});
0 commit comments