Skip to content

Commit

Permalink
minor fix to change the default hosting server
Browse files Browse the repository at this point in the history
  • Loading branch information
mountain committed May 15, 2024
1 parent 3b15870 commit 6d0cf3c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion polyclash/gui/dialogs.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ def __init__(self, parent=None):

# Server input (only enabled for Network mode)
self.server_input = QLineEdit(self)
self.server_input.setPlaceholderText("http://127.0.0.1:5000")
self.server_input.setPlaceholderText("https://sphericalgo.org")
layout.addWidget(QLabel('Server'))
layout.addWidget(self.server_input)

Expand Down
2 changes: 1 addition & 1 deletion polyclash/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ def on_ready(data):
def main():
logger.info(f"Secret: {secret_key}")
logger.info(f"Token: {server_token}")
socketio.run(app, host='localhost', port=5000, allow_unsafe_werkzeug=True, debug=True)
socketio.run(app, host='0.0.0.0', port=3302, allow_unsafe_werkzeug=True, debug=False)


if __name__ == '__main__':
Expand Down

0 comments on commit 6d0cf3c

Please # to comment.