netlify feature branch cors

This commit is contained in:
Brandon Thomas committed 2024-01-12 15:51:50 -05:00
1 parent 5949d1d4e7
commit ce852eda8a
3 files changed
+4 -2

No files matched your search

@@ -59,6 +59,8 @@ pub fn add_fakeyou(cors: Cors, is_production: bool) -> Cors {
// FakeYou (Staging)
.allowed_origin("http://staging.fakeyou.com")
.allowed_origin("https://staging.fakeyou.com")
// FakeYou (Netlify Staging / Production)
.allowed_origin("https://feature-mvp--fakeyou.netlify.app")
} else {
cors
// FakeYou (Development)
@@ -42,7 +42,7 @@ pub struct GetWeightResponse {
file_checksum_sha2: String,
/// Information about the cover image.
pub cover_image: CoverImageDetails,
cover_image: CoverImageDetails,
/// Cover images are small descriptive images that can be set for any model.
/// If a cover image is set, this is the path to the asset.
@@ -41,7 +41,7 @@ pub struct Weight {
file_checksum_sha2: String,
/// Information about the cover image.
pub cover_image: CoverImageDetails,
cover_image: CoverImageDetails,
/// Cover images are small descriptive images that can be set for any model.
/// If a cover image is set, this is the path to the asset.