From 33cba5d96b30749370813af548861384aefaf852 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pedro=20S=C3=A1=20Couto?= Date: Wed, 17 Jun 2020 23:21:37 +0200 Subject: [PATCH] Update 'README.md' --- README.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index f465981..076b456 100644 --- a/README.md +++ b/README.md @@ -75,14 +75,14 @@ But in the long run logging should be disabled ---- 09.06.2020 Handling url path /watermarks -* gunicorn has to be started with argument `--env SCRIPT_NAME=/watermarks` which defines its path: -`gunicorn --env SCRIPT_NAME=/watermarks --workers 4 --bind unix:app.sock -m 007 app:app --log-level debug` +* gunicorn has to be started with argument `--env SCRIPT_NAME=/watermark` which defines its path: +`gunicorn --env SCRIPT_NAME=/watermark --workers 4 --bind unix:app.sock -m 007 app:app --log-level debug` * allows for the following URLs - * http://127.0.0.1/watermarks - * http://127.0.0.1/watermarks/uploadbook - * http://127.0.0.1/watermarks/about + * http://127.0.0.1/watermark + * http://127.0.0.1/watermark/uploadbook + * http://127.0.0.1/watermark/about -* added page /test `watermarks/test` for testing url_for() - correct +* added page /test `watermark/test` for testing url_for() - correct * made urls relative -* service file with `--env SCRIPT_NAME=/watermarks` see above +* service file with `--env SCRIPT_NAME=/watermark` see above *