mirror of
https://github.com/OpenSquawk/OpenSquawk
synced 2026-08-01 06:06:05 +08:00
Fix local sharp setup for Nuxt image processing
This commit is contained in:
@@ -78,5 +78,8 @@ export default defineNuxtConfig({
|
||||
websocket: true,
|
||||
},
|
||||
},
|
||||
image: {
|
||||
provider: process.env.NUXT_IMAGE_PROVIDER || 'ipx',
|
||||
},
|
||||
|
||||
})
|
||||
})
|
||||
|
||||
@@ -11,6 +11,7 @@
|
||||
"preview": "nuxt preview",
|
||||
"start": "node .output/server/index.mjs",
|
||||
"postinstall": "nuxt prepare",
|
||||
"sharp:rebuild": "SHARP_IGNORE_GLOBAL_LIBVIPS=1 yarn rebuild sharp",
|
||||
"import:decision": "tsx --tsconfig tsconfig.scripts.json scripts/import-decision-tree.ts",
|
||||
"test": "tsx --tsconfig tsconfig.tests.json --test server/utils/openai.test.ts"
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user