fix admin controller to only serve if defined, and only from specified endpoints

This commit is contained in:
dswbx
2025-06-12 09:45:14 +02:00
parent c75f8d0937
commit 4162b9878a
3 changed files with 14 additions and 18 deletions

View File

@@ -5,6 +5,6 @@ import react from "@astrojs/react";
// https://astro.build/config
export default defineConfig({
output: "hybrid",
integrations: [react()]
output: "server",
integrations: [react()],
});