WongSaang / chatgpt-ui

A ChatGPT web client that supports multiple users, multiple languages, and multiple database connections for persistent data storage. Provides Docker images and quick deployment scripts.
https://wongsaang.github.io/chatgpt-ui/
MIT License
1.45k stars 321 forks source link

open http://localhost:3000/ error. please tell me the where is the .env file and Ihave not found the file to set SERVER_DOMAIN #243

Closed caoshuailian closed 11 months ago

caoshuailian commented 11 months ago

[HPM] Missing "target" option. Example: {target: "http://www.example.org"}

at createConfig (./node_modules/http-proxy-middleware/dist/config-factory.js:38:15) at new HttpProxyMiddleware (./node_modules/http-proxy-middleware/dist/http-proxy-middleware.js:138:57) at createProxyMiddleware (./node_modules/http-proxy-middleware/dist/index.js:16:28) at ./.nuxt/dev/index.mjs:541:5 at new Promise () at Object.handler (./.nuxt/dev/index.mjs:540:9) at Object.handler (./node_modules/h3/dist/index.mjs:1247:31) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async toNodeHandle (./node_modules/h3/dist/index.mjs:1322:7)

caoshuailian commented 11 months ago

I have replaced process.env.SERVER_DOMAIN with http://localhost:8000/ But the result is same