cors debug in loudanje pojmov
parent
8f73846f75
commit
32e37ba5f1
|
@ -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="Yugofuturist manifesto" />
|
||||||
<Pojem naslov="Jadran potem" />
|
<Pojem naslov="Jadran potem" />
|
||||||
<Pojem naslov="JUGA 2023" />
|
<Pojem naslov="JUGA 2023" />
|
||||||
|
-->
|
||||||
|
<Pojem v-for="pojem in Object.keys(store.pojmi)" :naslov="pojem" />
|
||||||
|
|
||||||
</template>
|
</template>
|
||||||
|
|
|
@ -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.
|
||||||
|
|
Loading…
Reference in New Issue