mirror of
https://github.com/profullstack/logicsrc.git
synced 2026-08-14 06:47:28 +00:00
The default was the apex, which runs the marketing app -- so every path the CLI needs (/cli/device/code, /cli/device/token, /cli/authorize, /cli/token, /api/me) returns 404 there. Point it at the host that actually serves them. app.logicsrc.com is now a custom domain on the credentials service with a valid certificate, verified live: /cli/device/code returns 200 and issues a real user code, /api/me returns 401 rather than 404, which is routing working correctly for an unauthenticated request. The apex can forward these paths instead -- that is what the rewrites in apps/logicsrc-web/next.config.ts do -- but that needs a second service deployed to be true, while this needs nothing beyond the domain that already exists. The rewrites stay useful as a convenience; they are no longer load-bearing. $LOGICSRC_API still overrides, unchanged. Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| providers | ||
| client.ts | ||
| crypto.test.ts | ||
| crypto.ts | ||
| engine.test.ts | ||
| engine.ts | ||
| fingerprint.ts | ||
| identity.ts | ||
| index.ts | ||
| manifest.ts | ||
| store.ts | ||
| types.ts | ||