More dots-in-URLs-routing-issues workarounds

This commit is contained in:
Christoph Haas 2021-02-21 11:12:53 +01:00
parent f68482f850
commit 46352afc58
2 changed files with 2 additions and 2 deletions

View file

@ -76,7 +76,7 @@ javascript:
document.onpaste = upload_paste_handler;
// Where to send POST requests for uploads
var ajax_upload_url = '#{{upload_receive_path(format: :json)}}';
var ajax_upload_url = '#{{upload_receive_json_path}}';
// Where to go to after a successful image upload
var after_upload_url = '#{{package_path(@package)}}';

View file

@ -73,7 +73,7 @@ javascript:
document.onpaste = upload_paste_handler;
// Where to send POST requests for uploads
var ajax_upload_url = '#{{upload_receive_path(format: :json)}}';
var ajax_upload_url = '#{{upload_receive_json_path}}';
// Where to go to after a successful image upload
var after_upload_url = '#{{package_path(@package)}}';