mirror of
https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web.git
synced 2025-05-22 21:50:16 +09:00
fix: vercel 504
This commit is contained in:
parent
e41b2d91b6
commit
16dbff3238
@ -8,10 +8,6 @@ console.log("[Next] build with chunk: ", !disableChunk);
|
|||||||
|
|
||||||
/** @type {import('next').NextConfig} */
|
/** @type {import('next').NextConfig} */
|
||||||
const nextConfig = {
|
const nextConfig = {
|
||||||
env: {
|
|
||||||
LANGCHAIN_CALLBACKS_BACKGROUND: true,
|
|
||||||
},
|
|
||||||
|
|
||||||
webpack(config) {
|
webpack(config) {
|
||||||
config.module.rules.push({
|
config.module.rules.push({
|
||||||
test: /\.svg$/,
|
test: /\.svg$/,
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
"mask:watch": "npx watch 'yarn mask' app/masks",
|
"mask:watch": "npx watch 'yarn mask' app/masks",
|
||||||
"dev": "yarn run mask:watch & next dev",
|
"dev": "yarn run mask:watch & next dev",
|
||||||
"dev:https": "yarn run mask:watch & next dev --experimental-https",
|
"dev:https": "yarn run mask:watch & next dev --experimental-https",
|
||||||
"build": "yarn mask && cross-env BUILD_MODE=standalone next build",
|
"build": "yarn mask && cross-env BUILD_MODE=standalone LANGCHAIN_CALLBACKS_BACKGROUND=true next build",
|
||||||
"start": "next start",
|
"start": "next start",
|
||||||
"lint": "next lint",
|
"lint": "next lint",
|
||||||
"export": "yarn mask && cross-env BUILD_MODE=export BUILD_APP=1 next build",
|
"export": "yarn mask && cross-env BUILD_MODE=export BUILD_APP=1 next build",
|
||||||
|
Loading…
Reference in New Issue
Block a user