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::

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 Posts: 28 ๐Ÿง‘๐Ÿปโ€๐Ÿš€ - Cadet

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