We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9872d1f commit b93c5e7Copy full SHA for b93c5e7
features/localized-explore/script.js
@@ -12,7 +12,7 @@ export default async function ({ feature, console }) {
12
async function getLanguage(country) {
13
try {
14
const res = await fetch(
15
- `https://restcountries.com/v3.1/name/${encodeURIComponent(country)}?fullText=true`
+ `https://data.scratchtools.app/language/${encodeURIComponent(country)}?fullText=true`
16
);
17
if (!res.ok) return null;
18
const data = await res.json();
0 commit comments