modify config to reflect updated server csp

This commit is contained in:
Troy 2025-01-19 13:10:44 +00:00
parent 6c18cef2da
commit 6cbdcd01a0
Signed by: troy
GPG key ID: DFC06C02ED3B4711
12 changed files with 36 additions and 53 deletions

View file

@ -5,10 +5,29 @@ import mdx from "@astrojs/mdx";
import tailwind from "@astrojs/tailwind";
import icon from "astro-icon";
import expressiveCode from "astro-expressive-code";
// https://astro.build/config
export default defineConfig({
site: "https://troylusty.com",
integrations: [sitemap(), mdx(), tailwind(), icon()],
integrations: [
sitemap(),
expressiveCode({
themes: ["github-dark-default", "github-light-default"],
defaultProps: {
frame: "none",
wrap: true,
},
styleOverrides: {
frames: {
shadowColor: "none",
},
},
}),
mdx(),
tailwind(),
icon(),
],
output: "static",
markdown: {
rehypePlugins: [
@ -19,17 +38,10 @@ export default defineConfig({
},
],
],
shikiConfig: {
wrap: true,
},
syntaxHighlight: false,
},
image: {
service: passthroughImageService(),
},
build: {
inlineStylesheets: "never",
},
experimental: {
responsiveImages: true,
},