Resolve issues
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
Minimal nginx configuration for static site delivery
|
# Minimal nginx configuration for static site delivery
|
||||||
# Security headers are handled upstream by Traefik
|
# Security headers are handled upstream by Traefik
|
||||||
|
|
||||||
user nginx;
|
user nginx;
|
||||||
|
|||||||
@@ -31,7 +31,11 @@ try {
|
|||||||
base: buildDir,
|
base: buildDir,
|
||||||
html,
|
html,
|
||||||
inline: { strategy: 'default' }, // preload in head + link at end of body (no inline JS, CSP-safe)
|
inline: { strategy: 'default' }, // preload in head + link at end of body (no inline JS, CSP-safe)
|
||||||
dimensions: [{ width: 1280, height: 720 }],
|
dimensions: [
|
||||||
|
{ width: 375, height: 667 }, // mobile (iPhone SE)
|
||||||
|
{ width: 768, height: 1024 }, // tablet
|
||||||
|
{ width: 1280, height: 720 }, // desktop
|
||||||
|
],
|
||||||
penthouse: { timeout: 30000 },
|
penthouse: { timeout: 30000 },
|
||||||
});
|
});
|
||||||
// Ensure _app asset paths stay absolute (critical may rewrite; host-based routing needs /_app/...)
|
// Ensure _app asset paths stay absolute (critical may rewrite; host-based routing needs /_app/...)
|
||||||
|
|||||||
Reference in New Issue
Block a user