this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Fix: Set API port to 3001 directly

The API port is now hardcoded to 3001 in the `api` app.
The `web` app's proxy target is also updated to reflect this change.

+2 -3
+1 -2
apps/api/src/index.ts
··· 26 26 27 27 export type AppType = typeof app; 28 28 29 - const port = Number(Bun.env.PORT ?? 3001); 30 29 const server = Bun.serve({ 31 30 fetch: (request) => app.fetch(request), 32 - port, 31 + port: 3001, 33 32 }); 34 33 35 34 console.log(`API listening on ${server.url}`);
+1 -1
apps/web/vite.config.ts
··· 10 10 port: 3000, 11 11 proxy: { 12 12 "/api": { 13 - target: process.env.VITE_API_TARGET ?? "http://localhost:3001", 13 + target: "http://localhost:3001", 14 14 changeOrigin: true, 15 15 }, 16 16 },