diff --git a/Controllers/UtilsImageController.cs b/Controllers/UtilsImageController.cs index d675e8f..047a906 100644 --- a/Controllers/UtilsImageController.cs +++ b/Controllers/UtilsImageController.cs @@ -93,9 +93,9 @@ public async Task GenerateDropImage(Drop drop) await assets.GetBitmap( $"Assets/Images/Map/Markers/{RandomNumberGenerator.GetInt32(markerAmount - 1)}.png"); // don't dispose - const int worldRadius = 150_000; - const int xOffset = -60; - const int yOffset = 0; + const int worldRadius = 80_000; + const int xOffset = -12_200; + const int yOffset = 3_200; var mx = (drop.X + worldRadius) / (worldRadius * 2f) * bitmap.Width + xOffset; var my = (drop.Y + worldRadius) / (worldRadius * 2f) * bitmap.Height + yOffset; diff --git a/Dockerfile b/Dockerfile index 698d696..79889b0 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,10 +1,10 @@ -FROM mcr.microsoft.com/dotnet/aspnet:9.0 AS base +FROM mcr.microsoft.com/dotnet/aspnet:10.0 AS base WORKDIR /app ENV ASPNETCORE_HTTP_PORTS=80 EXPOSE 80 EXPOSE 443 -FROM mcr.microsoft.com/dotnet/sdk:9.0 AS build +FROM mcr.microsoft.com/dotnet/sdk:10.0 AS build WORKDIR /src COPY ["EasyFortniteStats-ImageApi.csproj", "./"] RUN dotnet restore "EasyFortniteStats-ImageApi.csproj" diff --git a/EasyFortniteStats-ImageApi.csproj b/EasyFortniteStats-ImageApi.csproj index 9fe2df8..26291db 100644 --- a/EasyFortniteStats-ImageApi.csproj +++ b/EasyFortniteStats-ImageApi.csproj @@ -1,7 +1,7 @@ - net9.0 + net10.0 enable enable EasyFortniteStats_ImageApi @@ -13,7 +13,7 @@ - +