From 9bca0e3bef21a44fd7523fd86830226ee1fdcef8 Mon Sep 17 00:00:00 2001 From: Arash <38922203+arashsheyda@users.noreply.github.com> Date: Thu, 23 May 2024 12:28:38 -0600 Subject: [PATCH] feat(api): enable CORS for events --- nuxt.config.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/nuxt.config.ts b/nuxt.config.ts index 7697777..2b13e75 100644 --- a/nuxt.config.ts +++ b/nuxt.config.ts @@ -38,6 +38,7 @@ export default defineNuxtConfig({ routeRules: { '/bylaws': { redirect: 'https://docs.google.com/document/d/1i6oXabir-628csa2bQacHpc17Kmhec9EfkyHij9yQGM/edit' }, '/2021-survey': { redirect: 'https://docs.google.com/forms/d/e/1FAIpQLSeUyguShgoj6TZmqTboJN8qFVjKagrn1WRFvOuqDHqyGHEWeA/viewform?usp=sf_link' }, + '/api/events': { cors: true }, }, // custom css