feat: migrate from node to vercel adapter and add vercel config
chore: update package.json dependencies for vercel deployment fix: add www subdomain to allowed origins in like/dislike API endpoints chore: add vercel to gitignore
This commit is contained in:
@@ -20,7 +20,7 @@ import { pluginLineNumbers } from '@expressive-code/plugin-line-numbers'
|
||||
|
||||
import tailwindcss from '@tailwindcss/vite'
|
||||
|
||||
import node from '@astrojs/node';
|
||||
import vercel from '@astrojs/vercel';
|
||||
|
||||
export default defineConfig({
|
||||
site: 'https://cojocarudavid.me',
|
||||
@@ -110,7 +110,5 @@ export default defineConfig({
|
||||
remarkPlugins: [remarkMath, remarkEmoji, remarkSectionize],
|
||||
},
|
||||
|
||||
adapter: node({
|
||||
mode: 'standalone',
|
||||
}),
|
||||
adapter: vercel()
|
||||
})
|
||||
Reference in New Issue
Block a user