Add Legends: Arceus tracker and bundle offline sprites on dev
Add standalone Pokémon Legends: Arceus POC tracker (Hisui 242 Pokédex, Research Tasks & RL10 mode, Satchel MP & Save Mythicals toggles, Noble/story battles, saves/movesets), bundle local sprite packs across all three trackers into Git/Docker/Nginx with attribution credits, and update Hub landing page & unified server/tests.
This commit is contained in:
1 parent
708bf6b58c
commit
6b693cc3c6
2672 files changed
+35017
-35
No files matched your search
+19
-2
@@ -35,13 +35,24 @@ server {
|
||||
location = /luminescent-platinum {
|
||||
return 301 /luminescent-platinum/;
|
||||
}
|
||||
location = /legends-arceus {
|
||||
return 301 /legends-arceus/;
|
||||
}
|
||||
|
||||
# Asset-status probe endpoints (returns false unless bind-mounted offline sprite check overrides)
|
||||
# Asset-status probe endpoints (serves .ready.json if local sprites are bind-mounted/bundled, otherwise false)
|
||||
location = /oras/api/assets-status {
|
||||
default_type application/json;
|
||||
return 200 '{"hasLocalSprites":false}';
|
||||
try_files /oras/assets/sprites/.ready.json @assets_unavailable;
|
||||
}
|
||||
location = /luminescent-platinum/api/assets-status {
|
||||
default_type application/json;
|
||||
try_files /luminescent-platinum/assets/sprites/.ready.json @assets_unavailable;
|
||||
}
|
||||
location = /legends-arceus/api/assets-status {
|
||||
default_type application/json;
|
||||
try_files /legends-arceus/assets/sprites/.ready.json @assets_unavailable;
|
||||
}
|
||||
location @assets_unavailable {
|
||||
default_type application/json;
|
||||
return 200 '{"hasLocalSprites":false}';
|
||||
}
|
||||
@@ -51,6 +62,12 @@ server {
|
||||
try_files $uri =404;
|
||||
}
|
||||
|
||||
location ~* \.(?:png|webp|svg|ico)$ {
|
||||
expires 7d;
|
||||
add_header Cache-Control "public, max-age=604800";
|
||||
try_files $uri =404;
|
||||
}
|
||||
|
||||
location / {
|
||||
try_files $uri $uri/ =404;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user