What are the Slack Archives?

It’s a history of our time together in the Slack Community! There’s a ton of knowledge in here, so feel free to search through the archives for a possible answer to your question.

Because this space is not active, you won’t be able to create a new post or comment here. If you have a question or want to start a discussion about something, head over to our categories and pick one to post in! You can always refer back to a post from Slack Archives if needed; just copy the link to use it as a reference..

Is it possible to set several Domains for my shop with assigning an array to `ApplicationConstants::

Options
ULL0N440J
ULL0N440J Posts: 184 πŸ§‘πŸ»β€πŸš€ - Cadet

Is it possible to set several Domains for my shop with assigning an array to ApplicationConstants::HOST_YVES? I am at a point where my shop needs to be accessed from another URL, too (myshop.com for usual, now I need shop.newdomain.com).

Comments

  • Ievgen Varava
    Ievgen Varava Sprykee Posts: 154 πŸ§‘πŸ»β€πŸš€ - Cadet

    this value has to be string, array won't work there

  • ULL0N440J
    ULL0N440J Posts: 184 πŸ§‘πŸ»β€πŸš€ - Cadet

    Found it out on my local machine. Was wondering if there are solutions application-sided. Only solution I know would be to update the webservers config, but I expect issues with Yves there πŸ™„

  • schoenfeld
    schoenfeld Solution Architect Posts: 28 πŸ§‘πŸ»β€πŸš€ - Cadet

    β€’ pass it as env variable in vhost settings
    β€’ use getEnv in config file to receive domainname