Skip to content

Commit 705ae2f

Browse files
trying without ssl certificate
1 parent 74a536c commit 705ae2f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

a2rchi/bin/service_chat.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ def load_user(user_id):
7979
# start app
8080
print(f"Starting Chat Service with (host, port): ({app_config['HOST']}, {app_config['PORT']})")
8181
app = FlaskAppWrapper(app)
82-
if app_config["HOSTNAME"] == "a2rchi.mit.edu":
82+
if False: #app_config["HOSTNAME"] == "a2rchi.mit.edu":
8383

8484
print("Adding SSL certificates for a2rchi.mit.edu")
8585

@@ -98,6 +98,6 @@ def load_user(user_id):
9898
os.unlink(key_file.name)
9999

100100
else:
101-
101+
102102
print("No SSL certificate for this server found. Starting up with adhoc SSL certification")
103103
app.run(debug=True, port=app_config["PORT"], host=app_config["HOST"], ssl_context="adhoc")

0 commit comments

Comments
 (0)