Commit 0c27551
fix: resolve API base URL per-request so Server Settings takes effect (#20)
* fix: resolve API base URL per-request so Server Settings takes effect
The axios baseURL was frozen at module-load time, so changing the
server via the Server Settings panel had no effect until a full page
reload — requests kept hitting the stale base and failed silently with
no response, surfacing as a generic "Registration failed" (issue #14).
Resolve the base URL in the request interceptor instead, and fix the
wrong API path in web/.env.example (/api -> /api/v1).
https://claude.ai/code/session_0136mFAkQRJoTASLsyFEW42L
* chore: gitignore .playwright-mcp/ artifact dir
Playwright MCP server writes snapshots/console logs/screenshots to
.playwright-mcp/ during interactive QA. Untracked test artifact, not
source. Group with the existing Playwright ignore block.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
---------
Co-authored-by: Claude <noreply@anthropic.com>1 parent b5b9dab commit 0c27551
3 files changed
Lines changed: 12 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
| 60 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
5 | 9 | | |
6 | 10 | | |
7 | 11 | | |
8 | 12 | | |
9 | | - | |
10 | | - | |
11 | 13 | | |
12 | | - | |
13 | 14 | | |
14 | 15 | | |
15 | 16 | | |
16 | 17 | | |
| 18 | + | |
17 | 19 | | |
18 | 20 | | |
19 | 21 | | |
| |||
27 | 29 | | |
28 | 30 | | |
29 | 31 | | |
30 | | - | |
| 32 | + | |
31 | 33 | | |
32 | 34 | | |
33 | 35 | | |
| |||
0 commit comments