Skip to content

Cannot use subdomain gateway with ipfs subdomain #2398

@Gunni

Description

@Gunni

imgSubdomainUrl = new URL(`${gwUrl.protocol}//${IMG_HASH_1PX}.ipfs.${gwUrl.hostname}/?now=${Date.now()}&filename=1x1.png#x-ipfs-companion-no-redirect`)

This line prevents me from using ipfs.example.com as a subdomain gateway because it converts it to ipfs.ipfs.example.com

Image

If I type example.com instead, it generates a the subdomain gateway correctly but then tries the path gateway and and then fails anyway… what‽

Image

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