From 15c20f2f1c4e016c1a25a0a162b9a7485d82a3c3 Mon Sep 17 00:00:00 2001 From: Essential Randomness Date: Mon, 4 May 2026 01:55:05 -0700 Subject: [PATCH] add security settings --- astro.config.mjs | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/astro.config.mjs b/astro.config.mjs index ba65872..ceb9bd4 100644 --- a/astro.config.mjs +++ b/astro.config.mjs @@ -1,5 +1,6 @@ // @ts-check import { defineConfig } from "astro/config"; +import authproto from "@fujocoded/authproto"; import node from "@astrojs/node"; @@ -14,4 +15,24 @@ export default defineConfig({ adapter: node({ mode: "standalone", }), + session: { + driver: { entrypoint: "unstorage/drivers/memory" }, + }, + security: { + allowedDomains: [{ hostname: "atmosphere.community", protocol: "https" }], + }, + integrations: [ + authproto({ + applicationName: "Atmosphere.community", + applicationDomain: "https://atmosphere.community", + scopes: { + additionalScopes: [ + "repo:community.lexicon.calendar.rsvp?action=create&action=update", + ], + }, + driver: { + name: "memory", + }, + }), + ], }); -- 2.51.2