From 8d6740ffacb6c580d5e8f1281e0f16f245a74028 Mon Sep 17 00:00:00 2001 From: Borriborri Date: Wed, 15 Jan 2025 20:47:32 +0100 Subject: [PATCH] Allow CORS and add UseCredentials to nuxt.config.js as per issue #3935 and documentation found here https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/crossorigin#use-credentials this allows for the PWA to be installed behind cloudflare acces --- frontend/nuxt.config.js | 1 + 1 file changed, 1 insertion(+) diff --git a/frontend/nuxt.config.js b/frontend/nuxt.config.js index d513e065e6d..5ac923a443b 100644 --- a/frontend/nuxt.config.js +++ b/frontend/nuxt.config.js @@ -370,6 +370,7 @@ export default { dir: "auto", name: "Mealie", short_name: "Mealie", + crossorigin: "use-credentials", id: "mealie", description: "Mealie is a recipe management and meal planning app", theme_color: process.env.THEME_LIGHT_PRIMARY || "#E58325",