Update Invidious instance site and add link directly to site

This commit is contained in:
Preston 2021-01-21 21:21:33 -05:00
parent 5af086bb6f
commit e735378a1a
3 changed files with 9 additions and 1 deletions

View File

@ -138,7 +138,7 @@ export default Vue.extend({
} }
}, },
mounted: function () { mounted: function () {
const requestUrl = 'https://instances.invidio.us/instances.json' const requestUrl = 'https://api.invidious.io/instances.json'
$.getJSON(requestUrl, (response) => { $.getJSON(requestUrl, (response) => {
console.log(response) console.log(response)
const instances = response.filter((instance) => { const instances = response.filter((instance) => {

View File

@ -97,6 +97,13 @@
@input="handleInvidiousInstanceInput" @input="handleInvidiousInstanceInput"
/> />
</ft-flex-box> </ft-flex-box>
<ft-flex-box>
<a
href="https://api.invidious.io"
>
{{ $t('Settings.General Settings.View all Invidious instance information') }}
</a>
</ft-flex-box>
</ft-card> </ft-card>
</template> </template>

View File

@ -127,6 +127,7 @@ Settings:
End: End End: End
'Invidious Instance (Default is https://invidious.snopyta.org)': Invidious Instance 'Invidious Instance (Default is https://invidious.snopyta.org)': Invidious Instance
(Default is https://invidious.snopyta.org) (Default is https://invidious.snopyta.org)
View all Invidious instance information: View all Invidious instance information
Region for Trending: Region for Trending Region for Trending: Region for Trending
#! List countries #! List countries
Theme Settings: Theme Settings: