mirror of
https://github.com/open-webui/open-webui
synced 2025-03-09 14:10:46 +00:00
fix: insecure connection over LAN
This commit is contained in:
parent
38fb9d5fd8
commit
660a44c918
@ -1,3 +1,5 @@
|
||||
import { v4 as uuidv4 } from 'uuid';
|
||||
|
||||
let CLIENT_ID = '';
|
||||
|
||||
async function getCredentials() {
|
||||
@ -84,7 +86,7 @@ const params = {
|
||||
authentication: {},
|
||||
messaging: {
|
||||
origin: window?.location?.origin,
|
||||
channelId: crypto.randomUUID()
|
||||
channelId: uuidv4()
|
||||
},
|
||||
typesAndSources: {
|
||||
mode: 'files',
|
||||
|
Loading…
Reference in New Issue
Block a user