Skip to content

Commit 170d854

Browse files
authored
Update CORS config
1 parent 050b1d8 commit 170d854

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/common/config.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,7 @@ const environmentConfig: EnvironmentConfigType = {
108108
"https://core.aws.qa.acmuiuc.org",
109109
/^https:\/\/(?:.*\.)?acmuiuc\.pages\.dev$/,
110110
/^https:\/\/(?:.*\.)?acmuiuc-digital-signage\.pages\.dev$/,
111+
/^https?:\/\/([a-zA-Z0-9-]+\.)*acmuiuc\.workers\.dev$/,
111112
/http:\/\/localhost:\d+$/,
112113
],
113114
ConfigurationSecretIds: [genericConfig.TestingCredentialsSecret, genericConfig.ConfigSecretName, genericConfig.UinHashingSecret],
@@ -135,6 +136,7 @@ const environmentConfig: EnvironmentConfigType = {
135136
/^https:\/\/(?:.*\.)?acmuiuc\.pages\.dev$/,
136137
/^https?:\/\/([a-zA-Z0-9-]+\.)*acm\.illinois\.edu$/,
137138
/^https?:\/\/([a-zA-Z0-9-]+\.)*acmuiuc\.org$/,
139+
/^https?:\/\/([a-zA-Z0-9-]+\.)*acmuiuc\.workers\.dev$/,
138140
/http:\/\/localhost:\d+$/,
139141
],
140142
AadValidClientId: "5e08cf0f-53bb-4e09-9df2-e9bdc3467296",

0 commit comments

Comments
 (0)