fix: formatting
Some checks failed
CI / test (22) (push) Failing after 39s
CI / test (20) (push) Failing after 2m56s
CI / build (push) Has been skipped
CI / security (push) Failing after 2m30s
Deploy / docker-build (push) Failing after 9s
Deploy / build-and-deploy (push) Failing after 41s
Gitea CI / test (push) Failing after 33s
Gitea CI / docker-build (push) Has been skipped
Some checks failed
CI / test (22) (push) Failing after 39s
CI / test (20) (push) Failing after 2m56s
CI / build (push) Has been skipped
CI / security (push) Failing after 2m30s
Deploy / docker-build (push) Failing after 9s
Deploy / build-and-deploy (push) Failing after 41s
Gitea CI / test (push) Failing after 33s
Gitea CI / docker-build (push) Has been skipped
This commit is contained in:
13
README.md
13
README.md
@@ -94,17 +94,18 @@ The static adapter is configured in `svelte.config.js`. Modify settings as neede
|
||||
|
||||
```js
|
||||
adapter: adapter({
|
||||
pages: 'build', // Output directory
|
||||
assets: 'build', // Assets directory
|
||||
fallback: undefined, // SPA fallback page
|
||||
precompress: false, // Enable gzip/brotli
|
||||
strict: true // Strict prerendering
|
||||
})
|
||||
pages: 'build', // Output directory
|
||||
assets: 'build', // Assets directory
|
||||
fallback: undefined, // SPA fallback page
|
||||
precompress: false, // Enable gzip/brotli
|
||||
strict: true // Strict prerendering
|
||||
});
|
||||
```
|
||||
|
||||
### Nginx
|
||||
|
||||
Production nginx configuration in `nginx.conf` includes:
|
||||
|
||||
- Gzip compression
|
||||
- Static asset caching
|
||||
- Security headers
|
||||
|
||||
Reference in New Issue
Block a user