mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
add logging HELP
This commit is contained in:
parent
7e0813c87e
commit
49f88046fa
@ -32,8 +32,9 @@ import { OpenAPI } from 'services/api';
|
||||
let socket_url = `ws://${window.location.host}`;
|
||||
|
||||
console.log('socket middleware file loaded');
|
||||
console.log('OPENAPI.BASE: ', OpenAPI.BASE);
|
||||
// if building in package mode, replace socket url with open api base url minus the http protocol
|
||||
if (import.meta.env.MODE === 'package' && OpenAPI.BASE) {
|
||||
if (OpenAPI.BASE) {
|
||||
console.log('inside statement to set URL');
|
||||
//eslint-disable-next-line
|
||||
socket_url = OpenAPI.BASE.replace(/^https?\:\/\//i, '');
|
||||
|
Loading…
Reference in New Issue
Block a user