Merge branch 'dev'
CI/CD / deploy (push) Has been cancelled Details

This commit is contained in:
Jeff Emmett 2026-04-12 11:54:01 -04:00
commit f711ce50c6
2 changed files with 8 additions and 2 deletions

View File

@ -897,10 +897,10 @@ export function mountHeader(options: HeaderOptions): void {
onAuthChange?.();
break;
case 'profile':
window.open(ENCRYPTID_URL, '_blank');
window.open('https://auth.rspace.online', '_blank');
break;
case 'recovery':
window.open(`${ENCRYPTID_URL}/recover`, '_blank');
window.open('https://auth.rspace.online/recover', '_blank');
break;
}
document.getElementById('header-dropdown')?.classList.remove('open');

View File

@ -563,6 +563,12 @@ const proxyToEncryptid = async (c: any) => {
app.all("/api/auth/*", proxyToEncryptid);
app.all("/api/register/*", proxyToEncryptid);
app.all("/api/account/*", proxyToEncryptid);
app.all("/api/session/*", proxyToEncryptid);
app.all("/api/guardians/*", proxyToEncryptid);
app.all("/api/guardians", proxyToEncryptid);
app.all("/api/user/*", proxyToEncryptid);
app.all("/api/device-link/*", proxyToEncryptid);
app.all("/api/recovery/*", proxyToEncryptid);
// ── EncryptID proxy (forward /encryptid/* to encryptid container) ──
app.all("/encryptid/*", async (c) => {