feat: trying to add hashes to scripts
Some checks failed
Deploy to SFTP Server / build (push) Has been cancelled
Some checks failed
Deploy to SFTP Server / build (push) Has been cancelled
This commit is contained in:
@@ -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(),
|
||||
|
||||
Reference in New Issue
Block a user