Adds a new pretty_urls config option to fix an issue with broken upload and share links.
Servers that don't support (or have disabled) pretty URLs require /index.php to be inserted in links after the server domain, but Nextshot wasn't adding them. You couldn't just add it to the server option in config because that would break the API calls.
When pretty_urls is set to false in config (it's true by default) this will now add /index.php where appropriate.
Adds a new
pretty_urls
config option to fix an issue with broken upload and share links.Servers that don't support (or have disabled) pretty URLs require
/index.php
to be inserted in links after the server domain, but Nextshot wasn't adding them. You couldn't just add it to theserver
option in config because that would break the API calls.When
pretty_urls
is set tofalse
in config (it'strue
by default) this will now add/index.php
where appropriate.Fixes #67