mirror of
https://github.com/neondatabase/neon.git
synced 2025-12-23 06:09:59 +00:00
add fixme comment related to cache and allow: * in cors requests
This commit is contained in:
@@ -754,6 +754,8 @@ fn apply_common_cors_headers(
|
||||
None
|
||||
}
|
||||
}
|
||||
// FIXME!: on the first request, when we don't have a cached entry for the config,
|
||||
// allowed_origins is None, so we allow all origins for now but we should fix this
|
||||
(Some(_), None) => Some(HEADER_VALUE_ALLOW_ALL_ORIGINS),
|
||||
_ => None,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user