Skip to content

Commit 0f45438

Browse files
committed
feat: add staging API origin to allowed origins
- Updated allowed origins in app.ts and auth.ts to include the new staging API endpoint, ensuring proper CORS configuration for the staging environment.
1 parent 102192d commit 0f45438

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

‎src/app.ts‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ const allowedOrigins = [
5757
"http://localhost:3000", // For local frontend development
5858
"http://localhost:8000", // For local development
5959
"http://192.168.1.187:3000",
60+
"https://staging.api.boundlessfi.xyz",
6061
];
6162

6263
app.use(

‎src/lib/auth.ts‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -223,5 +223,6 @@ export const auth = betterAuth({
223223
"http://localhost:3000",
224224
"http://localhost:8000",
225225
"http://192.168.1.187:3000",
226+
"https://staging.api.boundlessfi.xyz",
226227
],
227228
});

0 commit comments

Comments
 (0)