added cors header for the nuxt server responses

This commit is contained in:
2024-02-09 17:32:50 +01:00
parent c91f9a53b6
commit 8d05df01e9
13 changed files with 81 additions and 3 deletions

View File

@ -1,5 +1,5 @@
<template>
<div :class="['data', darkMode ? 'div-darkmode' : 'div-lightmode']">
<div v-if="configItemList.length > 0" :class="['data', darkMode ? 'div-darkmode' : 'div-lightmode']">
<div :class="['label', darkMode ? 'label-darkmode' : 'label-lightmode']">Last viewed:</div>
<table class="data-table" id="asset-table">
<tr :class="['table-row', darkMode ? 'tr-head-darkmode' : 'tr-head-lightmode']" id="table-head">
@ -59,8 +59,8 @@ const getConfigItems = async () => {
}
}
onMounted(() => {
getConfigItems();
onMounted(async () => {
await getConfigItems();
});
</script>