fixing rag

This commit is contained in:
2025-08-25 17:13:15 +02:00
parent d1c59265d7
commit ac5a8476bc
80 changed files with 11363 additions and 349 deletions

View File

@@ -49,8 +49,7 @@ const PluginIframe: React.FC<PluginIframeProps> = ({
const allowedOrigins = [
window.location.origin,
config.getBackendUrl(),
config.getApiUrl(),
process.env.NEXT_PUBLIC_API_URL
config.getApiUrl()
].filter(Boolean);
if (!allowedOrigins.some(origin => event.origin.startsWith(origin))) {