mirror of
https://github.com/immich-app/immich
synced 2025-11-07 17:27:20 +00:00
Remove serverEndpoint completely and fix upload path (#434)
This commit is contained in:
parent
b45024a97e
commit
953d18e795
6 changed files with 2 additions and 11 deletions
|
|
@ -1,12 +1,9 @@
|
|||
import { Socket, io } from 'socket.io-client';
|
||||
import { writable } from 'svelte/store';
|
||||
import { serverEndpoint } from '../constants';
|
||||
|
||||
let websocket: Socket;
|
||||
|
||||
export const openWebsocketConnection = () => {
|
||||
const websocketEndpoint = serverEndpoint.replace('/api', '');
|
||||
|
||||
try {
|
||||
websocket = io('', {
|
||||
path: '/api/socket.io',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue