Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 1caad52

Browse files
authoredAug 23, 2024··
Merge pull request #43 from kcl-lang/update-pluto-infra-deps
fix: backend url
2 parents 61f7d02 + c9d925d commit 1caad52

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎web/src/js/editor/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ const playgroundOptions = {
3131

3232
function getBackendUrl() {
3333
var backendUrl = window.plutoEnv.BACKEND_URL;
34-
if (/http:\/\/localhost/g.test(backendUrl)) {
34+
if (/http:\/\/0.0.0.0/g.test(backendUrl)) {
3535
var parts = backendUrl.split(":");
3636
var port = parts[parts.length - 1];
3737

0 commit comments

Comments
 (0)
Please sign in to comment.