mirror of
https://github.com/storytold/artcraft.git
synced 2026-11-03 17:08:13 +00:00
netlify feature branch cors
This commit is contained in:
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.
|
||||
|
||||
+1
-1
@@ -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.
|
||||
|
||||
Reference in new issue
Block a user