@taupalosaurus found this issue on the jobs page where the links to the job results assumed that the application is always hosted at the root.
This change fixes the links to the job results by pre-pending the APPLICATION_ROOT to the link result URL if it's not already there. Performing this fix in the background job decorator as a post-processing step means that all the existing background job code which uses links as return values doesn't have to change.
@taupalosaurus found this issue on the jobs page where the links to the job results assumed that the application is always hosted at the root.
This change fixes the links to the job results by pre-pending the APPLICATION_ROOT to the link result URL if it's not already there. Performing this fix in the background job decorator as a post-processing step means that all the existing background job code which uses links as return values doesn't have to change.
Screenshot of issue (blue) and fix (red):