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">
const store = usePojmiStore()
await store.naloziPojme()
</script>
<template>
<DodajPojem />
<Pojem naslov="Yugofuturist manifesto" />
<Pojem naslov="Jadran potem" />
<Pojem naslov="JUGA 2023" />
<!--
<Pojem naslov="Yugofuturist manifesto" />
<Pojem naslov="Jadran potem" />
<Pojem naslov="JUGA 2023" />
-->
<Pojem v-for="pojem in Object.keys(store.pojmi)" :naslov="pojem" />
</template>

View File

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