Add associazione to the CORS domains for the gateway
@@ -51,11 +51,7 @@ exports.graphqlHandler = async (event: any, context: any) => {
cors: {
credentials: true,
methods: ["GET", "POST", "OPTIONS", "HEAD"],
- origin: [
- // @ts-ignore
- /python-italia\.vercel\.app$/,
- "https://pycon.it",
- ],
+ origin: ["https://associazione.python.it", "https://pycon.it"],
},
});
