Skip to content

Commit

Permalink
chore(api-node): allow render website in cors (#22180)
Browse files Browse the repository at this point in the history
  • Loading branch information
hongbo-miao authored Jan 1, 2025
1 parent fbba9dd commit 1d78178
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api-node/src/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ const config: Config = {
`${HTTP_PROTOCOL}://${HOST}:62470`,
'https://www.k8s-hongbomiao.com',
],
prodCORSAllowOrigins: [...sharedCORSAllowOrigins, 'https://www.hongbomiao.com'],
prodCORSAllowOrigins: [...sharedCORSAllowOrigins, 'https://hongbomiao-com.onrender.com', 'https://www.hongbomiao.com'],
devCSPConnectSrc: [...sharedCSPConnectSrc, `${WS_PROTOCOL}://${HOST}:80`, 'wss://www.k8s-hongbomiao.com'],
prodCSPConnectSrc: [
...sharedCSPConnectSrc,
Expand Down

0 comments on commit 1d78178

Please sign in to comment.