mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-07 00:09:51 +03:00
remove ws
This commit is contained in:
@@ -6,7 +6,6 @@ import { unpack } from '../api/unpack';
|
|||||||
export const ACCESS_TOKEN = 'access_token';
|
export const ACCESS_TOKEN = 'access_token';
|
||||||
|
|
||||||
const host = window.location.host;
|
const host = window.location.host;
|
||||||
export const WEB_SOCKET_ROOT = 'ws://' + host + '/ws/';
|
|
||||||
export const EVENT_SOURCE_ROOT = 'http://' + host + '/es/';
|
export const EVENT_SOURCE_ROOT = 'http://' + host + '/es/';
|
||||||
|
|
||||||
export const alovaInstance = createAlova({
|
export const alovaInstance = createAlova({
|
||||||
|
|||||||
Reference in New Issue
Block a user