0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2025-01-06 20:40:08 -05:00

fix(cloud): fix cloud admin ac iframe src error (#3786)

should allow admin endpoint to be loaded in admin ac iframe
This commit is contained in:
simeng-li 2023-04-28 17:22:40 +08:00 committed by GitHub
parent 6e5b48bdcb
commit d2fcc6b62f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -100,7 +100,7 @@ export default function withSecurityHeaders<InputContext extends RequestContext>
...developmentOrigins, ...developmentOrigins,
...appInsightsOrigins, ...appInsightsOrigins,
], ],
frameSrc: ["'self'", ...urlSetOrigins], frameSrc: ["'self'", ...urlSetOrigins, ...adminOrigins],
}, },
}, },
}, },