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