-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix file import during page copy (#1503)
Previously, **all files were downloaded and uploaded again when copying within the same environment**. This bug is caused because our deployed projects use the CDN URL for the fileUrl and the API URL doesn't match the CDN URL
- Loading branch information
1 parent
a677a16
commit 0fdf4ea
Showing
2 changed files
with
11 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
--- | ||
"@comet/cms-admin": patch | ||
--- | ||
|
||
|
||
Always use the `/preview` file URLs in the admin application | ||
|
||
This is achieved by setting the `x-preview-dam-urls` in the `includeInvisibleContentContext`. | ||
|
||
This fixes a page copy bug where all files were downloaded and uploaded again, even when copying within the same environment. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters