Added Capacitor CORS

This commit is contained in:
2025-09-24 16:55:18 +02:00
parent 8480ce1512
commit 0ae247ac98

View File

@@ -9,6 +9,7 @@ export default fp(async (server: FastifyInstance) => {
"http://127.0.0.1:3000", // dein Nuxt-Frontend
"https://beta.fedeo.de", // dein Nuxt-Frontend
"https://app.fedeo.de", // dein Nuxt-Frontend
"capacitor://localhost", // dein Nuxt-Frontend
],
methods: ["GET", "POST", "PUT", "DELETE", "OPTIONS"],
allowedHeaders: ["Content-Type", "Authorization", "Context"],