diff --git a/app.py b/app.py index 808c04c..0f29ceb 100644 --- a/app.py +++ b/app.py @@ -66,7 +66,16 @@ def fetch_mf2(url): default=False, help="Run application in debug mode", ) + parser.add_option( + "-p", + "--port", + action="store", + type="int", + dest="port", + default=8080, + help="Change dev server port (default is 8080)", + ) (options, args) = parser.parse_args() if options.debug: - app.run(debug=True, port=8080) + app.run(debug=True, port=options.port) diff --git a/templates/index.jinja2 b/templates/index.jinja2 index 8391093..57e5a10 100644 --- a/templates/index.jinja2 +++ b/templates/index.jinja2 @@ -1,5 +1,5 @@ - + @@ -52,7 +52,7 @@
- +
@@ -79,17 +79,17 @@
- +
- - + +
- -