Files
webstudio/fixtures
Ivan Starkov cfe018a3e8 fix: CLI, CORS does not allow synchronization in certain scenarios (#4056)
## Description

**✅🔍 Review per commit!!! ✅🔍**

We missed this bug because our CLI has two different sync methods:

  1. Sync by buildId - This one works fine.
  2. Sync by projectId - broken

This PR contains:
1. Fix
2. Fixture with sync by projectId  

## Steps for reproduction

1. click button
4. expect xyz

## Code Review

- [ ] hi @kof, I need you to do
  - conceptual review (architecture, feature-correctness)
  - detailed review (read every line)
  - test it on preview

## Before requesting a review

- [ ] made a self-review
- [ ] added inline comments where things may be not obvious (the "why",
not "what")

## Before merging

- [ ] tested locally and on preview environment (preview dev login:
5de6)
- [ ] updated [test
cases](https://github.com/webstudio-is/webstudio/blob/main/apps/builder/docs/test-cases.md)
document
- [ ] added tests
- [ ] if any new env variables are added, added them to `.env` file
2024-09-03 12:06:19 +03:00
..