test logo
Some checks failed
Update Versions from GitHub / update-versions (push) Has been cancelled
Some checks failed
Update Versions from GitHub / update-versions (push) Has been cancelled
This commit is contained in:
parent
8a80de71a3
commit
bc1fb08584
@ -201,6 +201,14 @@ server {
|
|||||||
try_files $uri $uri/ /index.html;
|
try_files $uri $uri/ /index.html;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# Static assets
|
||||||
|
location /assets {
|
||||||
|
alias /opt/romm/frontend/dist/assets;
|
||||||
|
try_files $uri $uri/ =404;
|
||||||
|
expires 1y;
|
||||||
|
add_header Cache-Control "public, immutable";
|
||||||
|
}
|
||||||
|
|
||||||
# EmulatorJS player - requires COOP/COEP headers for SharedArrayBuffer
|
# EmulatorJS player - requires COOP/COEP headers for SharedArrayBuffer
|
||||||
location ~ ^/rom/.*/ejs$ {
|
location ~ ^/rom/.*/ejs$ {
|
||||||
add_header Cross-Origin-Embedder-Policy "require-corp";
|
add_header Cross-Origin-Embedder-Policy "require-corp";
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user