Skip to content

Add a redirect helper to AppProxy context #1823

Open
@lizkenyon

Description

We should investigate adding a redirect helper function to the app proxy context that would allow developers to redirect to other pages on a merchants store.

const { redirect } = await authenticate.public.appProxy(request);

//myshop.shopify.com
redirect("/");

//myshop.shopify.com/products
redirect("/products"); 

Related to #1073

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions