mirror of
https://github.com/RoboSats/robosats.git
synced 2025-01-18 20:21:35 +00:00
Fix tighten condition for selfhosted check
This commit is contained in:
parent
efc3da28bd
commit
cd8b607891
@ -24,7 +24,7 @@ class UnsafeAlert extends Component {
|
||||
const http = new XMLHttpRequest();
|
||||
http.open('HEAD', `${location.protocol}//${this.getHost()}/selfhosted`, false);
|
||||
http.send();
|
||||
return http.status != 404;
|
||||
return http.status == 200;
|
||||
}
|
||||
|
||||
safe_urls = [
|
||||
|
Loading…
Reference in New Issue
Block a user