Skip to content

Commit 0128400

Browse files
committed
Merge branch 'main' into new-modifiers
# Conflicts: # src/core/execution/SpawnExecution.ts
2 parents 69cd337 + a5f5562 commit 0128400

55 files changed

Lines changed: 2750 additions & 673 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

index.html

Lines changed: 13 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -127,20 +127,20 @@
127127
id="background-layer"
128128
class="absolute inset-0 bg-cover bg-center opacity-50 [filter:brightness(1.0)] dark:[filter:sepia(0.2)_saturate(1.2)_hue-rotate(180deg)_brightness(0.9)]"
129129
style="
130-
background-image: url("/resources/images/background.png");
130+
background-image: url("/resources/images/background.webp");
131131
"
132132
></div>
133133
<div
134134
class="absolute inset-0 bg-center bg-no-repeat bg-contain hidden lg:block"
135135
style="
136-
background-image: url(&quot;/resources/images/OpenFront.png&quot;);
136+
background-image: url(&quot;/resources/images/OpenFront.webp&quot;);
137137
opacity: 0.25;
138138
"
139139
></div>
140140
<div
141141
class="absolute inset-0 bg-center bg-no-repeat bg-contain lg:hidden"
142142
style="
143-
background-image: url(&quot;/resources/images/OF.png&quot;);
143+
background-image: url(&quot;/resources/images/OF.webp&quot;);
144144
opacity: 0.25;
145145
"
146146
></div>
@@ -268,16 +268,20 @@
268268
class="fixed left-0 bottom-0 min-[1200px]:left-4 min-[1200px]:bottom-4 w-full flex flex-col sm:flex-row sm:items-end z-50 pointer-events-none"
269269
>
270270
<div
271-
class="order-2 sm:order-none w-full sm:w-1/2 min-[1200px]:w-auto lg:max-w-[400px]"
271+
class="contents sm:flex sm:flex-col sm:w-1/2 min-[1200px]:w-auto lg:max-w-[400px]"
272272
>
273-
<attacks-display></attacks-display>
274-
<control-panel></control-panel>
273+
<attacks-display class="order-2 sm:order-none w-full"></attacks-display>
274+
<control-panel class="order-4 sm:order-none w-full"></control-panel>
275275
</div>
276276
<div
277-
class="order-1 sm:order-none w-full sm:flex-1 min-[1200px]:w-auto min-[1200px]:fixed min-[1200px]:right-0 min-[1200px]:bottom-0 flex flex-col sm:items-end pointer-events-none"
277+
class="contents sm:flex sm:flex-col sm:flex-1 min-[1200px]:w-auto min-[1200px]:fixed min-[1200px]:right-0 min-[1200px]:bottom-0 sm:items-end pointer-events-none"
278278
>
279-
<chat-display></chat-display>
280-
<events-display></events-display>
279+
<chat-display
280+
class="order-1 sm:order-none w-full sm:w-auto"
281+
></chat-display>
282+
<events-display
283+
class="order-3 sm:order-none w-full sm:w-auto"
284+
></events-display>
281285
</div>
282286
</div>
283287

map-generator/assets/maps/gatewaytotheatlantic/info.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@
5858
},
5959
{
6060
"coordinates": [1609, 1837],
61-
"name": "Algeria'",
61+
"name": "Algeria",
6262
"flag": "dz"
6363
},
6464
{

nginx.conf

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,25 @@ server {
120120
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
121121
proxy_set_header X-Forwarded-Proto $scheme;
122122
}
123+
124+
# /api/health endpoint - No caching, always hit the backend
125+
location = /api/health {
126+
proxy_pass http://127.0.0.1:3000;
127+
proxy_http_version 1.1;
128+
129+
# Cache configuration - No caching for health checks
130+
proxy_cache off;
131+
add_header X-Cache-Status "BYPASS";
132+
add_header Cache-Control "no-store, no-cache, must-revalidate, proxy-revalidate";
133+
add_header Pragma "no-cache";
134+
add_header Expires "0";
135+
136+
# Standard proxy headers
137+
proxy_set_header Host $host;
138+
proxy_set_header X-Real-IP $remote_addr;
139+
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
140+
proxy_set_header X-Forwarded-Proto $scheme;
141+
}
123142

124143
# /commit.txt endpoint - Cache for 5 seconds
125144
location = /commit.txt {
@@ -250,4 +269,4 @@ server {
250269
proxy_set_header X-Forwarded-Proto $scheme;
251270
}
252271

253-
}
272+
}

package-lock.json

Lines changed: 8 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

resources/images/OF.png

-75.2 KB
Binary file not shown.

resources/images/OF.webp

26.6 KB
Loading

resources/images/OpenFront.png

-187 KB
Binary file not shown.

resources/images/OpenFront.webp

79.5 KB
Loading

resources/images/background.png

-2.2 MB
Binary file not shown.

resources/images/background.webp

172 KB
Loading

0 commit comments

Comments
 (0)