From 72903ede51cce208ff9fda1800572c26f1250ec2 Mon Sep 17 00:00:00 2001 From: Luke Else Date: Mon, 3 Feb 2025 10:37:47 +0000 Subject: [PATCH] Changed allow list for CORS --- Tracking/docker-compose.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Tracking/docker-compose.yml b/Tracking/docker-compose.yml index 871a09c..1189391 100644 --- a/Tracking/docker-compose.yml +++ b/Tracking/docker-compose.yml @@ -20,7 +20,7 @@ services: # Enable CORS headers - "traefik.http.middlewares.cors.headers.accesscontrolallowmethods=*" - - "traefik.http.middlewares.cors.headers.accesscontrolalloworiginlist=luke-else.co.uk" + - "traefik.http.middlewares.cors.headers.accesscontrolalloworiginlist=https://luke-else.co.uk" - "traefik.http.middlewares.cors.headers.accesscontrolmaxage=100" - "traefik.http.middlewares.cors.headers.addvaryheader=true" @@ -28,7 +28,6 @@ services: - "traefik.http.routers.ackee-insecure.middlewares=redirect-web-secure" - "traefik.http.routers.ackee-insecure.rule=Host(`tracking.luke-else.co.uk`)" - "traefik.http.routers.ackee-insecure.entrypoints=web" - - "traefik.http.routers.ackee-insecure.middlewares=cors" - "traefik.http.routers.ackee.rule=Host(`tracking.luke-else.co.uk`)" - "traefik.http.routers.ackee.entrypoints=websecure"