这是indexloc提供的服务,不要输入任何密码
Skip to content

QRCodeForm.jsx uses AppBridge.hostOrigin which now links to admin instead of storefront #144

@jimmijazz

Description

@jimmijazz

Going through step 4 on the app example it uses AppBridge.hostOrigin to return the store URL:

const data = { host: appBridge.hostOrigin, productHandle: handle.value || selectedProduct.handle, discountCode: discountCode.value || undefined, variantId: variantId.value, };

However per this issue, appBridge.host was not intended for part of the public API and now returns the admin URL and not store URL.

Would be good to have the example app updated to read the storefront URL.

Metadata

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