forked from xiangwang25/whale-town-front-v2
- add network NPC synchronization and dialogue interactions - add world bulletin publishing and display - improve authentication, session refresh, and appearance sync - synchronize player direction and movement animations - improve input focus and progressive Web loading - add macOS/Windows builds and deployment configuration - include required fonts, shaders, and runtime assets
25 lines
560 B
Caddyfile
25 lines
560 B
Caddyfile
whaletown.novamailio.com {
|
|
root * /var/www/whale-town-front-v2/build/site
|
|
|
|
@playWithoutSlash path /play
|
|
@wasm path *.wasm
|
|
@pack path *.pck
|
|
redir @playWithoutSlash /play/ 308
|
|
|
|
handle_path /play/* {
|
|
root * /var/www/whale-town-front-v2/build/site/play
|
|
header @wasm Content-Type application/wasm
|
|
header @pack Content-Type application/octet-stream
|
|
file_server
|
|
}
|
|
|
|
handle /downloads/* {
|
|
header Content-Disposition "attachment"
|
|
file_server
|
|
}
|
|
|
|
handle {
|
|
file_server
|
|
}
|
|
}
|