Add user-agent

This commit is contained in:
2024-12-21 21:57:01 +01:00
parent af7b385641
commit 580d687f62
4 changed files with 16 additions and 10 deletions
+4
View File
@@ -7,6 +7,7 @@ const loading = ref<boolean>(true);
const error = ref<string | null>(null);
let dict = ref<ProgressDictionary[] | null>(null);
const fetchMyData = async () => {
try {
loading.value = true;
@@ -21,6 +22,7 @@ const fetchMyData = async () => {
},
5 // Cache max age in seconds
);
} catch (err) {
error.value = (err as Error).message;
} finally {
@@ -34,6 +36,8 @@ const fetchMyData = async () => {
fetchMyData();
</script>
<template>