File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -98,8 +98,8 @@ export const register = async (
98
98
app . all ( "/proxy/(:port)(/*)?" , ( req , res ) => {
99
99
pathProxy . proxy ( req , res )
100
100
} )
101
- wsApp . get ( "/proxy/(:port)(/*)?" , ( req ) => {
102
- pathProxy . wsProxy ( req as pluginapi . WebsocketRequest )
101
+ wsApp . get ( "/proxy/(:port)(/*)?" , async ( req ) => {
102
+ await pathProxy . wsProxy ( req as pluginapi . WebsocketRequest )
103
103
} )
104
104
// These two routes pass through the path directly.
105
105
// So the proxied app must be aware it is running
@@ -109,8 +109,8 @@ export const register = async (
109
109
passthroughPath : true ,
110
110
} )
111
111
} )
112
- wsApp . get ( "/absproxy/(:port)(/*)?" , ( req ) => {
113
- pathProxy . wsProxy ( req as pluginapi . WebsocketRequest , {
112
+ wsApp . get ( "/absproxy/(:port)(/*)?" , async ( req ) => {
113
+ await pathProxy . wsProxy ( req as pluginapi . WebsocketRequest , {
114
114
passthroughPath : true ,
115
115
} )
116
116
} )
You can’t perform that action at this time.
0 commit comments