Skip to content

Commit

Permalink
Use hostname
Browse files Browse the repository at this point in the history
  • Loading branch information
derpbyte committed Aug 19, 2024
1 parent 695d5c7 commit 13a5f35
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion static/assets/js/loader.js
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ function decode(url) {
if (url === 'about:blank' || url === 'welcome.html') {
return ''
}
else if (url === 'welcome.html' || url === 'https://beta.derpman.lol/welcome.html') {
else if (url === 'welcome.html' || url === 'https://' + location.hostname + '/welcome.html') {
return ''
}
var uvPrefix = '/service/';
Expand Down

0 comments on commit 13a5f35

Please sign in to comment.