This commit is contained in:
Timothy Jaeryang Baek 2025-12-07 18:06:06 -05:00
parent 492c8bac09
commit aa9c0389c3
2 changed files with 3 additions and 2 deletions

View file

@ -64,7 +64,7 @@
onMount(async () => { onMount(async () => {
window.addEventListener('message', async (event) => { window.addEventListener('message', async (event) => {
if ( if (
!['https://openwebui.com', 'https://www.openwebui.com', 'http://localhost:5173'].includes( !['https://openwebui.com', 'https://www.openwebui.com', 'http://localhost:9999'].includes(
event.origin event.origin
) )
) { ) {

View file

@ -34,8 +34,9 @@
onMount(async () => { onMount(async () => {
window.addEventListener('message', async (event) => { window.addEventListener('message', async (event) => {
console.log(event);
if ( if (
!['https://openwebui.com', 'https://www.openwebui.com', 'http://localhost:5173'].includes( !['https://openwebui.com', 'https://www.openwebui.com', 'http://localhost:9999'].includes(
event.origin event.origin
) )
) )