Notifyme action domain is being added as vtexcommercestable
Open
triage
vtex
- Dominant language
- TypeScript
- Stars
- 28
- Forks
- 30
- Avg merge
- 1d 16h
- Merged PRs (30d)
- 4
Description
## 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`)```
Contributor guide
Assessment
This issue has not been assessed yet.