fix: TypeScript errors — declare authenticate, fix WebSocket types

This commit is contained in:
Ai
2026-05-22 11:13:44 +03:00
parent 941a526f3b
commit f12f4a4b68
4 changed files with 59 additions and 37 deletions

View File

@@ -6,9 +6,8 @@ RUN npm install
COPY . .
# Empty VITE_API_URL = use relative URLs (nginx proxies /api/ and /ws)
ARG VITE_API_URL=
ARG VITE_WS_URL=
ARG VITE_API_URL=https://api.janichat.ru
ARG VITE_WS_URL=wss://api.janichat.ru
ENV VITE_API_URL=$VITE_API_URL
ENV VITE_WS_URL=$VITE_WS_URL