Update 'README.md'

master
Pedro Sá Couto 4 years ago
parent 2792cc707f
commit 33cba5d96b

@ -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
*

Loading…
Cancel
Save