diff --git a/netlify.toml b/netlify.toml new file mode 100644 index 0000000000..571cae28d0 --- /dev/null +++ b/netlify.toml @@ -0,0 +1,2 @@ +[build] + edge_functions = "my-custom-directory" \ No newline at end of file diff --git a/src/api/signup-submit.js b/src/api/signup-submit.js index 9561f82813..62819eb626 100644 --- a/src/api/signup-submit.js +++ b/src/api/signup-submit.js @@ -9,7 +9,7 @@ export default async function handler(req, res) { const eventId = req.body.eventId; // Replace with the path to your service account JSON file - const SERVICE_ACCOUNT_FILE = process.env.SERVICE_ACCOUNT_FILE ?? './calendar-service-account.json' + const SERVICE_ACCOUNT_FILE = 'calendar-service-account.json' // Scopes required for the Google Calendar API const SCOPES = [