Files
furumi-ng/furumi-node-player
Ultradesu ea2fc53faf fix(node-player): proxy /api through vite dev server for same-origin SW
Service Worker only intercepts same-origin requests. In dev mode, API
calls went directly to localhost:8085 (cross-origin), bypassing the SW.
Now vite proxies /api to Rust API, keeping everything same-origin so
the SW can inject Bearer tokens for audio/image requests.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-08 17:40:47 +01:00
..
2026-03-19 15:47:21 +03:00

auth-app

Проект состоит из двух частей:

  • client - Vite + React + TypeScript
  • server - Express + TypeScript + OIDC авторизация

Запуск

  1. Скопируй server/.env.example в server/.env и заполни OIDC параметры.
    • Если нужно запустить без авторизации, поставь DISABLE_AUTH=true (OIDC параметры тогда не требуются).
  2. В одном терминале:
    • cd server
    • npm run dev
  3. В другом терминале:
    • cd client
    • npm run dev

Клиент откроется на http://localhost:5173, сервер на http://localhost:3001.