Skip to content
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

Notifyme action domain is being added as vtexcommercestable #880

Open
guitavano opened this issue Sep 24, 2024 · 0 comments
Open

Notifyme action domain is being added as vtexcommercestable #880

guitavano opened this issue Sep 24, 2024 · 0 comments
Labels

Comments

@guitavano
Copy link
Contributor

Issue Type

Bug Report

Description

When a site uses our action notifyme, because we fetch the vtexcommercestable API, when vtex trigger the e-mail, the button of the product in the email is with vtexcommercestable domain.

Expected Behavior

As we proxy /no-cache/* route, I think we can fetch:

instead of:
await vcsDeprecated["POST /no-cache/AviseMe.aspx"]({}, { body: form });

something like:
fetch(`${req.url}/no-cache`)

@guitavano guitavano added the vtex VTEX App label Sep 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant