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