From 3eb6eb513249bbcbd0e228a76974a2c3b3e71d07 Mon Sep 17 00:00:00 2001 From: Gustavo Paiva Date: Mon, 19 Feb 2024 11:12:13 -0300 Subject: [PATCH] set elements try it credential policy to same-origin --- api.go | 1 + 1 file changed, 1 insertion(+) diff --git a/api.go b/api.go index 4c666fde..73d14dd5 100644 --- a/api.go +++ b/api.go @@ -377,6 +377,7 @@ func NewAPI(config Config, a Adapter) API { apiDescriptionUrl="` + config.OpenAPIPath + `.yaml" router="hash" layout="sidebar" + tryItCredentialsPolicy="same-origin" />