feat: trying to add hashes to scripts
Some checks failed
Deploy to SFTP Server / build (push) Has been cancelled

This commit is contained in:
Max Richter
2026-01-04 18:48:23 +01:00
parent 24d01e44b0
commit 7736032c1a

View File

@@ -17,7 +17,7 @@ const locales = {
const DEFAULT_LAYOUT = "@layouts/Post.astro";
function setDefaultLayout() {
return function(_, file) {
return function (_, file) {
const { frontmatter } = file.data.astro;
if (!frontmatter.layout) frontmatter.layout = DEFAULT_LAYOUT;
};
@@ -33,6 +33,9 @@ export default defineConfig({
build: {
format: "file",
},
experimental: {
csp: true
},
vite: {
plugins: [
glsl(),