cors debug in loudanje pojmov

pull/26/head
janko 2024-01-08 01:05:54 +01:00
parent 8f73846f75
commit 32e37ba5f1
2 changed files with 10 additions and 4 deletions

View File

@ -1,10 +1,16 @@
<script setup="setup"> <script setup="setup">
const store = usePojmiStore() const store = usePojmiStore()
await store.naloziPojme()
</script> </script>
<template> <template>
<DodajPojem /> <DodajPojem />
<Pojem naslov="Yugofuturist manifesto" /> <!--
<Pojem naslov="Jadran potem" /> <Pojem naslov="Yugofuturist manifesto" />
<Pojem naslov="JUGA 2023" /> <Pojem naslov="Jadran potem" />
<Pojem naslov="JUGA 2023" />
-->
<Pojem v-for="pojem in Object.keys(store.pojmi)" :naslov="pojem" />
</template> </template>

View File

@ -213,7 +213,7 @@ parameters:
allowedMethods: ['*'] allowedMethods: ['*']
# Configure requests allowed from specific origins. Do not include trailing # Configure requests allowed from specific origins. Do not include trailing
# slashes with URLs. # slashes with URLs.
allowedOrigins: ['yufu.kompot.si'] allowedOrigins: ['*']
# Sets the Access-Control-Expose-Headers header. # Sets the Access-Control-Expose-Headers header.
exposedHeaders: false exposedHeaders: false
# Sets the Access-Control-Max-Age header. # Sets the Access-Control-Max-Age header.