Skip to content

Notifyme action domain is being added as vtexcommercestable #880

@guitavano

Description

@guitavano

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`)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions