-
Notifications
You must be signed in to change notification settings - Fork 223
Ignore the API collect endpoint in the shopify theme dev and shopify app dev commands
#6779
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
…fy app dev` commands
Coverage report
Show new covered files 🐣
Show files with reduced coverage 🔻
Test suite run success3670 tests passing in 1429 suites. Report generated by 🧪jest coverage report action from 32edfeb |
frandiox
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you <3
|
👋 Hey @Shopify/app-inner-loop, could you please take a look at this when you have a moment? |
jantnovi
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like this doesn't really touch much specific to the apps space and looks reasonable to me.
Ignore the API collect endpoint in the `shopify theme dev` and `shopify app dev` commands
WHY are these changes introduced?
This PR updates the theme development server (for both themes and theme app extensions) to ignore the
/api/collectendpoint when runningshopify theme devandshopify app dev, since that endpoint can’t be proxied.WHAT is this pull request doing?
Updates the proxy patching logic to handle the beacon endpoint data attribute.
How to test your changes?
shopify theme devandshopify app dev/api/collectrequests no longer failBefore:

After:

Post-release steps
N/A
Measuring impact
How do we know this change was effective? Please choose one:
Checklist