mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-12 12:25:20 +00:00
refac
This commit is contained in:
parent
492c8bac09
commit
aa9c0389c3
2 changed files with 3 additions and 2 deletions
|
|
@ -64,7 +64,7 @@
|
|||
onMount(async () => {
|
||||
window.addEventListener('message', async (event) => {
|
||||
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
|
||||
)
|
||||
) {
|
||||
|
|
|
|||
|
|
@ -34,8 +34,9 @@
|
|||
|
||||
onMount(async () => {
|
||||
window.addEventListener('message', async (event) => {
|
||||
console.log(event);
|
||||
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
|
||||
)
|
||||
)
|
||||
|
|
|
|||
Loading…
Reference in a new issue