fix: remove port from 3000 to 3001

This commit is contained in:
2026-08-25 09:33:47 +02:00
parent fc2014d50f
commit d17b452651
8 changed files with 9 additions and 9 deletions
+1 -1
View File
@@ -167,7 +167,7 @@ At the end of implementation, guide users thoroughly on remaining next steps (e.
```env
BETTER_AUTH_SECRET=<32+ chars, generate with: openssl rand -base64 32>
BETTER_AUTH_URL=http://localhost:3000
BETTER_AUTH_URL=http://localhost:3001
DATABASE_URL=<your database connection string>
```
@@ -31,7 +31,7 @@ capture() {
# --- edit below ---------------------------------------------------------
step "Open the app at http://localhost:3000 and sign in."
step "Open the app at http://localhost:3001 and sign in."
capture ERRORED "Click the 'Export' button. Did it throw an error? (y/n)"
+1 -1
View File
@@ -17,4 +17,4 @@ BETTER_AUTH_URL=http://localhost:3080
# Dashboard (only VITE_ variables are exposed to browser code)
VITE_PUBLIC_API_URL=http://localhost:3080
VITE_PUBLIC_URL=http://localhost:3000
VITE_PUBLIC_URL=http://localhost:3001
+1 -1
View File
@@ -27,5 +27,5 @@ export function getUrl() {
return `https://${process.env.VERCEL_URL}`;
}
return "http://localhost:3000";
return "http://localhost:3001";
}
+1 -1
View File
@@ -10,7 +10,7 @@ server {
error_log /var/log/nginx/dashboard.basango.ngandu.dev.error.log;
location / {
proxy_pass http://127.0.0.1:3000;
proxy_pass http://127.0.0.1:3001;
proxy_http_version 1.1;
proxy_set_header Host $host;
+1 -1
View File
@@ -1,7 +1,7 @@
# Deployment
The production checkout lives at `/var/www/html/basango.ngandu.dev`. PM2 runs the API on
`127.0.0.1:3080` and the dashboard on `127.0.0.1:3000`; Nginx is the only public entrypoint.
`127.0.0.1:3080` and the dashboard on `127.0.0.1:3001`; Nginx is the only public entrypoint.
## Nginx
+1 -1
View File
@@ -23,7 +23,7 @@ module.exports = {
env: {
HOST: "127.0.0.1",
NODE_ENV: "prod",
PORT: "3000",
PORT: "3001",
VITE_PUBLIC_API_URL: "https://api.basango.ngandu.dev",
VITE_PUBLIC_URL: "https://dashboard.basango.ngandu.dev",
},
+2 -2
View File
@@ -10,8 +10,8 @@ export const ApiConfigurationSchema = z.object({
.array(z.string())
.optional()
.default([
"http://localhost:3000",
"http://127.0.0.1:3000",
"http://localhost:3001",
"http://127.0.0.1:3001",
"https://dashboard.basango.ngandu.dev",
]),
}),