mirror of
https://github.com/KazooTTT/kazoottt-blog.git
synced 2025-06-16 23:41:21 +08:00
chore: use cf
This commit is contained in:
@ -8,14 +8,14 @@ import rehypeExternalLinks from 'rehype-external-links'
|
||||
import expressiveCode from 'astro-expressive-code'
|
||||
import { expressiveCodeOptions } from './src/site.config'
|
||||
import icon from 'astro-icon'
|
||||
|
||||
import vercel from '@astrojs/vercel/serverless'
|
||||
|
||||
import react from '@astrojs/react'
|
||||
import cloudflare from '@astrojs/cloudflare'
|
||||
|
||||
// https://astro.build/config
|
||||
export default defineConfig({
|
||||
site: 'https://blog.kazoottt.top',
|
||||
output: 'server',
|
||||
adapter: cloudflare(),
|
||||
redirects: {
|
||||
'/articles': '/posts',
|
||||
'/articles/[...slug]': '/blogs/[...slug]',
|
||||
@ -53,8 +53,4 @@ export default defineConfig({
|
||||
}
|
||||
},
|
||||
prefetch: true,
|
||||
output: 'server',
|
||||
adapter: vercel({
|
||||
webAnalytics: { enabled: true }
|
||||
})
|
||||
})
|
||||
|
Reference in New Issue
Block a user