Add missing accessControlAllowOrigin list to middleware view
Headers middleware doesn't support `accessControlAllowOrigin` option anymore, it should print a list of values from `accessControlAllowOriginList`.
This commit is contained in:
parent
b61de07ca0
commit
607cda779d
1 changed files with 3 additions and 2 deletions
|
@ -371,15 +371,16 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</q-card-section>
|
</q-card-section>
|
||||||
<!-- EXTRA FIELDS FROM MIDDLEWARES - [headers] - accessControlAllowOrigin -->
|
<!-- EXTRA FIELDS FROM MIDDLEWARES - [headers] - accessControlAllowOriginList -->
|
||||||
<q-card-section v-if="middleware.headers">
|
<q-card-section v-if="middleware.headers">
|
||||||
<div class="row items-start no-wrap">
|
<div class="row items-start no-wrap">
|
||||||
<div class="col">
|
<div class="col">
|
||||||
<div class="text-subtitle2">Access Control Allow Origin</div>
|
<div class="text-subtitle2">Access Control Allow Origin</div>
|
||||||
<q-chip
|
<q-chip
|
||||||
|
v-for="(val, key) in exData(middleware).accessControlAllowOriginList" :key="key"
|
||||||
dense
|
dense
|
||||||
class="app-chip app-chip-green">
|
class="app-chip app-chip-green">
|
||||||
{{ exData(middleware).accessControlAllowOrigin }}
|
{{ val }}
|
||||||
</q-chip>
|
</q-chip>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in a new issue