The hub now serves a React canvas (web/, embedded at build time): grant by dragging a vault onto a person, revoke by pulling a ribbon until it snaps with an 8 s Undo the hub honours before anything reaches devices, invites (including vaults dropped on invitees), device rename and removal, Float/Dock, and panels with a button for every gesture. Sign-in without passwords (SPEC §8): `lunesync open` one-time link or a pairing code typed on the hub; 30-day HttpOnly session cookie plus an X-Lune header on every canvas request. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
9 lines
327 B
TypeScript
9 lines
327 B
TypeScript
import { defineConfig } from 'vite';
|
|
import react from '@vitejs/plugin-react';
|
|
|
|
// `npm run dev` talks to a hub on :8080; `npm run build` output is embedded in the hub binary.
|
|
export default defineConfig({
|
|
plugins: [react()],
|
|
server: { proxy: { '/api': 'http://127.0.0.1:8080', '/signin/': 'http://127.0.0.1:8080' } },
|
|
});
|