update to use node adapter
This commit is contained in:
+4
-2
@@ -24,11 +24,13 @@ import remarkMath from 'remark-math' /* for latex math support */
|
|||||||
import rehypeKatex from 'rehype-katex' /* again, for latex math support */
|
import rehypeKatex from 'rehype-katex' /* again, for latex math support */
|
||||||
import remarkGemoji from './src/plugins/remark-gemoji' /* for shortcode emoji support */
|
import remarkGemoji from './src/plugins/remark-gemoji' /* for shortcode emoji support */
|
||||||
import rehypePixelated from './src/plugins/rehype-pixelated' /* Custom plugin to handle pixelated images */
|
import rehypePixelated from './src/plugins/rehype-pixelated' /* Custom plugin to handle pixelated images */
|
||||||
import vercel from '@astrojs/vercel'
|
import node from '@astrojs/node'
|
||||||
|
|
||||||
// https://astro.build/config
|
// https://astro.build/config
|
||||||
export default defineConfig({
|
export default defineConfig({
|
||||||
adapter: vercel(),
|
adapter: node({
|
||||||
|
mode: 'standalone',
|
||||||
|
}),
|
||||||
site: siteConfig.site,
|
site: siteConfig.site,
|
||||||
trailingSlash: siteConfig.trailingSlashes ? 'always' : 'never',
|
trailingSlash: siteConfig.trailingSlashes ? 'always' : 'never',
|
||||||
prefetch: true,
|
prefetch: true,
|
||||||
|
|||||||
Generated
+4
-756
File diff suppressed because it is too large
Load Diff
@@ -19,7 +19,6 @@
|
|||||||
"@astrojs/sitemap": "^3.5.1",
|
"@astrojs/sitemap": "^3.5.1",
|
||||||
"@astrojs/svelte": "^7.2.5",
|
"@astrojs/svelte": "^7.2.5",
|
||||||
"@astrojs/ts-plugin": "^1.10.4",
|
"@astrojs/ts-plugin": "^1.10.4",
|
||||||
"@astrojs/vercel": "^9.0.4",
|
|
||||||
"@expo-google-fonts/jetbrains-mono": "^0.4.0",
|
"@expo-google-fonts/jetbrains-mono": "^0.4.0",
|
||||||
"@expressive-code/plugin-line-numbers": "^0.41.3",
|
"@expressive-code/plugin-line-numbers": "^0.41.3",
|
||||||
"@fontsource-variable/jetbrains-mono": "^5.2.6",
|
"@fontsource-variable/jetbrains-mono": "^5.2.6",
|
||||||
|
|||||||
+1
-1
@@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"deploy": {
|
"deploy": {
|
||||||
"startCommand": "npx serve dist -l 3000"
|
"startCommand": "node ./dist/server/entry.mjs"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user