Skip to content

Commit

Permalink
🔧 尝试:显式声明图片处理程序以防止在生产环境默认使用 Image Optimization with Vercel 处理图片
Browse files Browse the repository at this point in the history
  • Loading branch information
cfdxkk committed Mar 6, 2024
1 parent a27e0f6 commit 22ed28f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ export default defineNuxtConfig({
image: {
format: ["avif", "webp"], // 只适用于 <NuxtPicture>,对 <NuxtImg> 无效。
domains: ["kirafile.com", "imagedelivery.net"],

provider: "ipx",
},
piniaPersistedstate: {
cookieOptions: {
Expand Down

0 comments on commit 22ed28f

Please sign in to comment.