Commit 231b867
Studio: Ensure that images render correctly with the new library (#3317)
## Related issues
<!--
Link a related issue to this PR. If the PR does not immediately resolve
the issue,
for example, it requires a separate deployment to production, avoid
using the "Fixes" keyword and use "Related to" instead.
-->
Related to STU-1668
## How AI was used in this PR
The change was straightforward, it was not needed
## Proposed Changes
This PR ensures that we whitelist
`https://blueprintslibraryv2.wpcomstaging.com/` where the new blueprints
library is located: https://blueprintslibraryv2.wpcomstaging.com/
This will ensure that the images are rendered correctly for the
blueprints that we use from that library.
## Testing Instructions
<!--
Add as many details as possible to help others reproduce the issue and
test the fix.
"Before / After" screenshots can also be very helpful when the change is
visual.
-->
* Apply the diff from 214152-ghe-Automattic/wpcom
* Sandbox the public API
* Pull the changes from this branch
* Start Studio
* Enable the `Enable Blueprints Gallery` feature flag
* Click on Add site > Build a new site
* Confirm that thumbnails for blueprints are rendering correctly
## Pre-merge Checklist
<!--
Complete applicable items on this checklist **before** merging into
trunk. Inapplicable items can be left unchecked.
Both the PR author and reviewer are responsible for ensuring the
checklist is completed.
-->
- [ ] Have you checked for TypeScript, React or other console errors?
---------
Co-authored-by: Kateryna Kodonenko <kateryna@automattic.com>1 parent 134a6c2 commit 231b867
2 files changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
306 | 306 | | |
307 | 307 | | |
308 | 308 | | |
309 | | - | |
| 309 | + | |
310 | 310 | | |
311 | 311 | | |
312 | 312 | | |
| |||
0 commit comments