Skip to content

Commit

Permalink
fix(CORS): Allow parla.citylab-berlin.org
Browse files Browse the repository at this point in the history
  • Loading branch information
ff6347 committed Dec 14, 2023
1 parent 4bf2330 commit 989df48
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/handle-cors.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export async function registerCors(app: FastifyInstance) {
// match hosstname based on regex
if (
hostname.match(
/cors-requester.vercel.app|ki-anfragen-frontend.*?.vercel.app|ki-anfragen.citylab-berlin.org/,
/cors-requester.vercel.app|ki-anfragen-frontend.*?.vercel.app|ki-anfragen.citylab-berlin.org|parla.citylab-berlin.org/,
)
) {
// Request from localhost will pass
Expand Down

0 comments on commit 989df48

Please # to comment.