mirror of
https://github.com/pablorevilla-meshtastic/meshview.git
synced 2026-10-31 03:01:58 +01:00
Start adding language support
This commit is contained in:
1 parent
bcd007e5e2
commit
ea10a656e7
1 file changed
+1
-1
@@ -201,7 +201,7 @@ loadTranslations().then(async () => {
|
||||
|
||||
async function fetchAdditionalChannels() {
|
||||
try {
|
||||
const res = await fetch('/api/channels?period_type=day&length=30');
|
||||
const res = await fetch('/api/channels?period_type=day&length=3');
|
||||
if (!res.ok) return [];
|
||||
const data = await res.json();
|
||||
if (!data || !Array.isArray(data.channels)) return [];
|
||||
|
||||
Reference in new issue
Block a user