fmt-lint-ignore-fix
Some checks failed
deploy / Linting (push) Failing after 45s
deploy / Run end-to-end tests (push) Failing after 1m42s
deploy / Update templates on Mailgun (push) Has been skipped
deploy / Github (push) Failing after 2s

This commit is contained in:
Untone 2024-02-04 13:37:43 +03:00
parent 00fe88c945
commit 12f65dfe31
2 changed files with 2 additions and 19 deletions

View File

@ -5,7 +5,7 @@
"useIgnoreFile": true "useIgnoreFile": true
}, },
"organizeImports": { "organizeImports": {
"enabled": false "enabled": true
}, },
"formatter": { "formatter": {
"indentStyle": "space", "indentStyle": "space",
@ -24,6 +24,7 @@
} }
}, },
"linter": { "linter": {
"ignore": ["*.scss", "*.md", ".DS_Store", "*.svg"],
"enabled": true, "enabled": true,
"rules": { "rules": {
"recommended": true, "recommended": true,

View File

@ -1,18 +0,0 @@
---
import Prerendered from '../../main.astro'
import { Root } from '../../components/Root'
import { initRouter } from '../../stores/router'
const { pathname, search } = Astro.url
initRouter(pathname, search)
Astro.response.headers.set(
"Content-Security-Policy",
"frame-src 'self' https://*.discours.io https://widget.cloudpayments.ru; frame-ancestors 'self' https://*.discours.io https://widget.cloudpayments.ru;"
)
Astro.response.headers.set('Cache-Control', 's-maxage=1, stale-while-revalidate')
---
<Prerendered>
<Root client:load />
</Prerendered>