From 0e83c315875dbb006804ed503ee554cb5052cf4a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Krist=C3=B3f=20T=C3=B3th?= Date: Sat, 28 Apr 2018 19:12:19 +0200 Subject: [PATCH] Make webide display webservice authentication module --- solvable/Dockerfile | 2 +- solvable/src/webservice/server.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/solvable/Dockerfile b/solvable/Dockerfile index 2a3472f..24f79d9 100644 --- a/solvable/Dockerfile +++ b/solvable/Dockerfile @@ -20,7 +20,7 @@ ADD solvable/src/webservice/frontend-deps.tar ${TFW_WEBSERVICE_DIR}/static # Create IDE directory, symlink server source and give proper permissions to AVATAO_USER RUN mkdir -p ${TFW_IDE_WD} &&\ - ln -s ${TFW_WEBSERVICE_DIR}/server.py ${TFW_IDE_WD} &&\ + ln -s ${TFW_WEBSERVICE_DIR}/user_ops.py ${TFW_IDE_WD} &&\ chown -R ${AVATAO_USER}: ${TFW_IDE_WD} && chmod -R 755 ${TFW_IDE_WD} # Hide TFW related code from user diff --git a/solvable/src/webservice/server.py b/solvable/src/webservice/server.py index f825468..f76a5d8 100644 --- a/solvable/src/webservice/server.py +++ b/solvable/src/webservice/server.py @@ -84,4 +84,4 @@ def servererror(error): if __name__ == '__main__': - app.run(host='127.0.0.1', debug=True, port=11111) + app.run(host='127.0.0.1', debug=False, port=11111)