modify config to reflect updated server csp
This commit is contained in:
parent
6c18cef2da
commit
6cbdcd01a0
12 changed files with 36 additions and 53 deletions
|
@ -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,
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue