From b963b29e577ddb4e13c771caa44d84be87e905bf Mon Sep 17 00:00:00 2001 From: Swerik <47034061+TheSwerik@users.noreply.github.com> Date: Wed, 9 Jul 2025 01:38:33 +0200 Subject: [PATCH] fix errors (#139) --- src/Api/Dockerfile | 2 +- src/Api/appsettings.json | 9 +++++---- src/Web/Dockerfile | 2 +- 3 files changed, 7 insertions(+), 6 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/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, 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 #########################################################################