Skip to content
Commits on Source (4)
{
"name": "laboite-blog-front",
"description": "laboite blog service frontend",
"version": "1.11.0",
"version": "1.11.1-testing.1",
"license": "EUPL-1.2",
"author": "EOLE/PCLL <team@eole.education> - DINUM",
"type": "module",
......
......@@ -13,13 +13,11 @@
personalData: {external: false, link: '', content: ''},
};
let loading = false;
let targetLocation = '';
onMount(async () => {
const appsettings = await fetch(`${$page.data.env.API_HOST}/appsettings`);
settings = await appsettings.json();
loading = false;
targetLocation = new URL('/about', window.location);
});
$: footer = [
......@@ -49,7 +47,7 @@
},
{
text: $_('links.about'),
path: targetLocation,
path: '/about',
},
];
</script>
......