From 5d58a3bdc1c22302fea39c8d31d708b6323fdfd9 Mon Sep 17 00:00:00 2001 From: TheSwerik Date: Wed, 9 Jul 2025 01:34:30 +0200 Subject: [PATCH 1/3] add allowed hosts --- src/Api/appsettings.json | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/Api/appsettings.json b/src/Api/appsettings.json index c857e814..d7297d49 100644 --- a/src/Api/appsettings.json +++ b/src/Api/appsettings.json @@ -11,12 +11,13 @@ } }, "AllowedHosts": "*", - "AllowedOrigins": [], + "AllowedOrigins": [ + "https://localhost:443", + "http://localhost:80", + "https://poegamblinghelper.swerik.dev" + ], "CacheTag": "FetchData", "FetchInterval": "5", - "Quartz": { - "quartz.scheduler.instanceName": "Quartz Api Update Scheduler" - }, "RateLimit": { "Global": { "TokenLimit": 1000, From add71013deea78309b85bd1a910f150646540a14 Mon Sep 17 00:00:00 2001 From: TheSwerik Date: Wed, 9 Jul 2025 01:38:01 +0200 Subject: [PATCH 2/3] fix dotnet publish --- src/Api/Dockerfile | 2 +- src/Web/Dockerfile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Api/Dockerfile b/src/Api/Dockerfile index 030cb955..82c7fe5b 100644 --- a/src/Api/Dockerfile +++ b/src/Api/Dockerfile @@ -5,7 +5,7 @@ WORKDIR /build COPY ../../. . RUN apk add --no-cache nodejs npm RUN npm install -g yarn -RUN dotnet publish -c Release -o /build/publish src/Api/Api.csproj +RUN dotnet publish /build/publish src/Api/Api.csproj -c Release -o ######################################################################### diff --git a/src/Web/Dockerfile b/src/Web/Dockerfile index af2649fc..e991db5b 100644 --- a/src/Web/Dockerfile +++ b/src/Web/Dockerfile @@ -5,7 +5,7 @@ WORKDIR /build COPY ../../. . RUN apk add --no-cache nodejs npm RUN npm install -g yarn -RUN dotnet publish -c Release -o /build/publish src/Web/Web.csproj +RUN dotnet publish src/Web/Web.csproj -c Release -o /build/publish ######################################################################### From ebeb391c9fa738498c9ba7b471a1205137b3dae1 Mon Sep 17 00:00:00 2001 From: TheSwerik Date: Wed, 9 Jul 2025 01:46:37 +0200 Subject: [PATCH 3/3] OCH MAN --- src/Api/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Api/Dockerfile b/src/Api/Dockerfile index 82c7fe5b..6c636f34 100644 --- a/src/Api/Dockerfile +++ b/src/Api/Dockerfile @@ -5,7 +5,7 @@ WORKDIR /build COPY ../../. . RUN apk add --no-cache nodejs npm RUN npm install -g yarn -RUN dotnet publish /build/publish src/Api/Api.csproj -c Release -o +RUN dotnet publish src/Api/Api.csproj -c Release -o /build/publish #########################################################################