This repository has been archived by the owner on Oct 8, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 169
Unable to find a matching sales channel when using storefront:hot-proxy #147
Comments
I have same problem, somebody found a way to fix that? |
Resolved it by setting my shop url (like "http://shopware.test") as a STOREFRONT_PROXY_URL instead of "http://localhost" in .env |
for anyone finding this, if your dev domain is served via |
Hi @kinglouie, may I ask if I change the
Then what should I change for the shop-1.conf:
.env:
/etc/hosts file:
|
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I installed the dev template as described in the docs, which worked well. My dev install is fully functional on the local storefront-dev.test URL.
I then created a new theme and called
./psh.phar storefront:hot-proxy
When trying to access proxy URL under
http://localhost:9998/
I get following error:Unable to find a matching sales channel for the request: http://shopware-dev.test:9998/". Please make sure the domain mapping is correct.
I then tried to add the
http://localhost:9998/
as an additional domain to the sales channel but this is not possible because the port is always striped out from the URL field.I also tried to set
{% set isHMRMode = true %}
in the base.html.twig template as described in many help forums but no success.What am I doing wrong?
I'm using laravel valet as the dev environment.
The text was updated successfully, but these errors were encountered: