Skip to content

Commit

Permalink
Use new instances api url
Browse files Browse the repository at this point in the history
  • Loading branch information
Perflyst committed Jan 22, 2021
1 parent 3c56df2 commit bd6a06a
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion build/index.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!DOCTYPE html><html lang="en"><head><title>Select instance - Invidious</title><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1"><link rel="stylesheet" type="text/css" href="/static/css/main.css?static=bd312d0b07"><script src="/static/js/main.min.js?static=26819fe5e7" text="text/javascript" defer></script></head><body><noscript><style>.requires-scripts {
<!DOCTYPE html><html lang="en"><head><title>Select instance - Invidious</title><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1"><link rel="stylesheet" type="text/css" href="/static/css/main.css?static=bd312d0b07"><script src="/static/js/main.min.js?static=ceebe78f07" text="text/javascript" defer></script></head><body><noscript><style>.requires-scripts {
display: none;
}
</style></noscript><header class="banner"><div class="logo"></div><h1>Invidious</h1></header><noscript><div class="script-warning"><p>You are seeing the fallback version of this page.<br>
Expand Down
2 changes: 1 addition & 1 deletion build/static/js/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
e.textContent = e.getAttribute("data-loading-message")
}

request("https://instances.invidio.us/instances.json?sort_by=type,health",
request("https://api.invidious.io/instances.json?sort_by=type,health",
/** @param {[string, {monitor: any, flag: string, region: string, stats: any, type: string, uri: string}][]} root */ (err, root) => {
shuffle(root)
root.map(entry => {
Expand Down
2 changes: 1 addition & 1 deletion build/static/js/main.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit bd6a06a

Please sign in to comment.