Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions infra/packages/resources/src/resources/cors.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,5 @@ export const ALLOWED_ORIGINS = [
'https://website-staging.macro.com',
'https://website-prod.macro.com',
'https://apollo-testing.macro.com',
'tauri://localhost',
];
3 changes: 2 additions & 1 deletion rust/cloud-storage/macro_cors/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ use axum::http::{
};
use tower_http::cors::{AllowOrigin, CorsLayer};

static ALLOWED_ORIGINS: [&str; 10] = [
static ALLOWED_ORIGINS: [&str; 11] = [
"http://localhost:5173",
"https://dashboarddev.macro.com",
"https://dashboard.macro.com",
Expand All @@ -16,6 +16,7 @@ static ALLOWED_ORIGINS: [&str; 10] = [
"https://www.macro.com",
"https://macro.com",
"http://tauri.localhost",
"tauri://localhost",
"https://apollo-testing.macro.com",
];

Expand Down
Loading