Skip to content

Commit 63680a7

Browse files
rashedmytPrabhakar Kumar
authored andcommitted
Fix performance issue on Windows platform.
Use 127.0.0.1 instead of localhost to serving content.
1 parent 8b2ea20 commit 63680a7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

matlab_proxy/app.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -403,7 +403,7 @@ async def matlab_view(req):
403403
matlab_port = state.matlab_port
404404
matlab_protocol = req.app["settings"]["matlab_protocol"]
405405
mwapikey = req.app["settings"]["mwapikey"]
406-
matlab_base_url = f"{matlab_protocol}://localhost:{matlab_port}"
406+
matlab_base_url = f"{matlab_protocol}://127.0.0.1:{matlab_port}"
407407

408408
# WebSocket
409409
if (

0 commit comments

Comments
 (0)