From 1e11dcd447ac5824068956e5436fc368c1396b89 Mon Sep 17 00:00:00 2001 From: swee Date: Sun, 19 Jan 2025 11:46:19 -0800 Subject: [PATCH] Update server.py --- server.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/server.py b/server.py index 11accb4..9a2d5e5 100644 --- a/server.py +++ b/server.py @@ -258,4 +258,8 @@ def relay(): title = "gemini://" + url except: code += "
" + traceback.format_exc() + "
" - return f'\n{title}{code}' \ No newline at end of file + return f'\n{title}{code}' +if __name__ == '__main__': + # run() method of Flask class runs the application + # on the local development server. + app.run(host='127.0.0.1',port=2009) \ No newline at end of file