ninomae1001
commited on
Commit
•
5fc4a8a
1
Parent(s):
fcae6a7
Update server.js
Browse files
server.js
CHANGED
@@ -4,7 +4,7 @@ const { createProxyMiddleware } = require('http-proxy-middleware');
|
|
4 |
const app = express();
|
5 |
|
6 |
app.use('/', createProxyMiddleware({
|
7 |
-
target: '
|
8 |
changeOrigin: true,
|
9 |
pathRewrite: {
|
10 |
'^/proxy': '/',
|
|
|
4 |
const app = express();
|
5 |
|
6 |
app.use('/', createProxyMiddleware({
|
7 |
+
target: 'https://chatgpt.com',
|
8 |
changeOrigin: true,
|
9 |
pathRewrite: {
|
10 |
'^/proxy': '/',
|