Go to file
Amiram_se ed6ddc05b1 feat(apps): call the API through a same-origin /api rewrite
- next.config rewrites /api/:path* to API_INTERNAL_ORIGIN, with a 120 s proxy timeout for uploads; NEXT_PUBLIC_API_ORIGIN is gone.
- The browser HTTP base is /api/v1; media, avatars and uploads load through /api (market env `apiBaseUrl`), so private media gets the session cookie.
- toApiUrl keeps a narrow rule for uploads stored with a host before the back end stored paths.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-06 21:47:18 +04:00
.claude chore(skill): fixed-name fonts and an icon sprite versioned in its link 2026-10-05 19:01:39 +04:00
apps feat(apps): call the API through a same-origin /api rewrite 2026-10-06 21:47:18 +04:00
docs/decisions docs(decisions): propose 0014, registration step 5 on the session 2026-10-05 22:33:00 +04:00
packages refactor(libs): share the origin env schema 2026-10-06 21:47:18 +04:00
platforms/market feat(apps): call the API through a same-origin /api rewrite 2026-10-06 21:47:18 +04:00
tools/generators feat: scaffold 2026-10-02 18:19:11 +04:00
.gitignore chore(apps): run bull on 7000 and bear on 7001; ignore server-proxy.js 2026-10-05 22:33:12 +04:00
.ignore feat: scaffold 2026-10-02 18:19:11 +04:00
.oxlintrc.json chore(lint): check ARIA roles on DOM elements only 2026-10-05 22:32:43 +04:00
.prettierignore feat: scaffold 2026-10-02 18:19:11 +04:00
.prettierrc feat: scaffold 2026-10-02 18:19:11 +04:00
CLAUDE.md chore: nx init 2026-10-02 17:46:30 +04:00
README.md first commit 2026-10-02 17:41:59 +04:00
eslint.config.mjs feat: scaffold 2026-10-02 18:19:11 +04:00
nx.json feat: scaffold 2026-10-02 18:19:11 +04:00
package.json chore(deps): upgrade Next.js to 16.3 and add the front-end stack packages 2026-10-04 21:33:07 +04:00
pnpm-lock.yaml chore(deps): upgrade Next.js to 16.3 and add the front-end stack packages 2026-10-04 21:33:07 +04:00
pnpm-workspace.yaml feat: scaffold 2026-10-02 18:19:11 +04:00
tsconfig.base.json feat: scaffold 2026-10-02 18:19:11 +04:00
tsconfig.json feat: scaffold 2026-10-02 18:19:11 +04:00

README.md