Skip to content

Commit

Permalink
remove absolute links
Browse files Browse the repository at this point in the history
  • Loading branch information
kellerben committed Jun 8, 2021
1 parent 4c8626b commit e40e676
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion controllers/storage.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ module.exports = {
res.json('No files Uploaded ' + err);
} else {
files.forEach(function (file) {
resultData.push("http://dvws.local/uploads/" + result.user + "/" + file);
resultData.push("/uploads/" + result.user + "/" + file);

});
res.json(resultData);
Expand Down
2 changes: 1 addition & 1 deletion public/admin.html
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ <h2>DVWS User Data</h2>
<p>
<button class="btn btn-black" id="send">Show Your JWT Token</button>
</p>
<iframe id="receiver" src="http://dvws.local/receiver.html" width="700" height="60">
<iframe id="receiver" src="/receiver.html" width="700" height="60">
<p>Your browser does not support iframes.</p>
</iframe>
<script src="static/userdisplay.js"></script>
Expand Down

0 comments on commit e40e676

Please sign in to comment.