Add HTTP routes, app wiring, V1 migration, backups, templates and API tests
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This commit is contained in:
parent
3e74ecd843
commit
eae109c166
11 changed files with 2085 additions and 1 deletions
|
|
@ -249,7 +249,7 @@ export function publicRoutes(app: AppContext): Hono {
|
|||
'Content-Type': doc.mime || 'application/octet-stream',
|
||||
'Content-Disposition': `${inline ? 'inline' : 'attachment'}; filename*=UTF-8''${encodeURIComponent(doc.filename)}`,
|
||||
'X-Content-Type-Options': 'nosniff',
|
||||
'Content-Security-Policy': "default-src 'none'; style-src 'unsafe-inline'; sandbox",
|
||||
...(inline ? {} : { 'Content-Security-Policy': "default-src 'none'; sandbox" }),
|
||||
'Cache-Control': 'private, no-store',
|
||||
'X-Robots-Tag': 'noindex, nofollow',
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue