fix(backend): change APP_BASE_URL default from port 5173 to 3000

Password reset email links pointed to Vite dev port instead of the
Docker frontend port.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Jason Staack
2026-03-09 22:39:04 -05:00
parent 837ab6f8fa
commit a3d2172797
3 changed files with 3 additions and 3 deletions

View File

@@ -123,7 +123,7 @@ class Settings(BaseSettings):
# Password reset
PASSWORD_RESET_TOKEN_EXPIRE_MINUTES: int = 30
APP_BASE_URL: str = "http://localhost:5173"
APP_BASE_URL: str = "http://localhost:3000"
# App settings
APP_NAME: str = "TOD - The Other Dude"

View File

@@ -13,7 +13,7 @@ TOD uses Pydantic Settings for configuration. All values can be set via environm
| `ENVIRONMENT` | `dev` | Runtime environment: `dev`, `staging`, or `production` |
| `DEBUG` | `false` | Enable debug mode |
| `CORS_ORIGINS` | `http://localhost:3000,http://localhost:5173,http://localhost:8080` | Comma-separated list of allowed CORS origins |
| `APP_BASE_URL` | `http://localhost:5173` | Frontend base URL (used in password reset emails) |
| `APP_BASE_URL` | `http://localhost:3000` | Frontend base URL (used in password reset emails) |
### Authentication & JWT

View File

@@ -1241,7 +1241,7 @@ open http://localhost</code></pre>
<tr><td><code>ENVIRONMENT</code></td><td><code>dev</code></td><td>Runtime environment: <code>dev</code>, <code>staging</code>, or <code>production</code></td></tr>
<tr><td><code>DEBUG</code></td><td><code>false</code></td><td>Enable debug mode</td></tr>
<tr><td><code>CORS_ORIGINS</code></td><td><code>http://localhost:3000,...</code></td><td>Comma-separated list of allowed CORS origins</td></tr>
<tr><td><code>APP_BASE_URL</code></td><td><code>http://localhost:5173</code></td><td>Frontend base URL (used in password reset emails)</td></tr>
<tr><td><code>APP_BASE_URL</code></td><td><code>http://localhost:3000</code></td><td>Frontend base URL (used in password reset emails)</td></tr>
</tbody>
</table>