Skip to content

Commit 3d5ba73

Browse files
committed
Fix proxy middleware
1 parent 30bf206 commit 3d5ba73

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

admin/server/middleware/ray-proxy.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import {defineEventHandler} from 'h3'
22
import {createProxyMiddleware} from 'http-proxy-middleware';
33
import * as path from "path"; // npm install http-proxy-middleware@beta
44

5-
const rayProxyMiddleware = createProxyMiddleware('/ray/', {
5+
const rayProxyMiddleware = createProxyMiddleware({
66
target: 'http://back:8265',
77
changeOrigin: true,
88
ws: true,

0 commit comments

Comments
 (0)