Skip to content

hlx up should default to the preview domain set in sidekick #2219

Open

Description

@davidnuescheler

it would be great if we could automatically use the custom preview URLs for hlx up, i think this would allow devs at customers that have custom preview URLs to work more intuitively with custom CDN layers that are sitting infront of .page

Activity

  1. added
    enhancement
    on Aug 2, 2023
  2. davidnuescheler commented on Aug 2, 2023

    @davidnuescheler
    ContributorAuthor

    thoughts @rofe / @tripodsan ?

  3. tripodsan commented on Aug 3, 2023

    @tripodsan
    Contributor

    good idea - but there is no possibility to communicate with the sidekick from the helix-cli.....
    we could call https://admin.hlx.page/sidekick/.../env.json but this would only work for projects w/o admin authentication

  4. davidnuescheler commented on Aug 16, 2023

    @davidnuescheler
    ContributorAuthor

    let's add a hlx env file with default options in the github repo / root directory.

  5. tripodsan commented on Aug 17, 2023

    @tripodsan
    Contributor

    let's add a hlx env file with default options in the github repo / root directory.

    I'm not a big fan of adding even more configuration to the system. note, that devs already can add a HLX_URL=... in their .env to proxy a specific page

  6. added a commit that references this issue on Mar 19, 2024
    f166662
  7. tripodsan commented on Mar 19, 2024

    @tripodsan
    Contributor

    this is fixed.

  8. 3vil3mpir3 commented on Apr 19, 2024

    @3vil3mpir3

    After testing, AEM up w/out the --url flag doesn't seem to work for customer. It does load adobe origin urls, just not the customer's worker urls

  9. tripodsan commented on Apr 22, 2024

    @tripodsan
    Contributor

    @3vil3mpir3 please note, that this doesn't work for authenticated projects. I assume that's why it doesn't work for some customers.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancement

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions