shyim / shopware-docker

Easy to use Docker Installation for Shopware 5 and Shopware 6
MIT License
115 stars 27 forks source link

Saleschannel Mapping Exception #60

Closed zaifastafa closed 4 years ago

zaifastafa commented 4 years ago

Hi, after doing a build on the latest pull, I get this exception

Unable to find a matching sales channel for the request: http://sw6.dev.localhost/". Please make sure the domain mapping is correct.

when loading the storefront. I verified from the admin that the domain url is set for the saleschannel.

It says unable to find a matching sales channel for the request.

EDIT: It turns out that the recent introduction of HTTP_PORT is causing the problem. It is adding the :80 in the domain URL which fails when opening the storefront.

shyim commented 4 years ago

Yup. Didnt checked the PR sorry fixed with https://github.com/shyim/shopware-docker/commit/028414f648a99cf7e1533fd0c3da7ca0ede037ae