vuestorefront / vue-storefront-api

Vue.js storefront for Magento2 (and not only) - data backend
https://www.vuestorefront.io
MIT License
346 stars 337 forks source link

Running multiple websites on one API instance #445

Open azizantoun opened 4 years ago

azizantoun commented 4 years ago

Hello,

I am unable to run multiple websites using one API instance. My local.config looks like this.

"magento2": { "imgUrl": "/pub/media/catalog/product", "assetPath": "/../var/magento2-sample-data/pub/media", "api": { "url": "/rest", "consumerKey": "", "consumerSecret": "", "accessToken": "", "accessTokenSecret": "" }, "url": "" },

But in the case of multiple websites we should be able to add multiple REST endpoints. Example: /STORE1/rest /STORE2/rest

I followed this issue, but couldn't make it work. https://github.com/DivanteLtd/vue-storefront/issues/1135

Appreciate your support.

simonmaass commented 4 years ago

not really understand what you are trying to do... you have different magento instances for each website?