Fix hardcoded http:// urls.

This commit is contained in:
evazion
2018-01-28 20:46:33 -06:00
parent 83b96b4f3f
commit e16ae00efc
5 changed files with 16 additions and 16 deletions

View File

@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8" ?>
<response>
<post-id>0</post-id>
<location>http://<%= Danbooru.config.hostname %>/uploads/<%= @upload.id %></location>
<location><%= upload_url(@upload) %></location>
</response>