vue-storefront-api icon indicating copy to clipboard operation
vue-storefront-api copied to clipboard

Running multiple websites on one API instance

Open azizantoun opened this issue 5 years ago • 1 comments

Hello,

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

"magento2": { "imgUrl": "<MY_URL>/pub/media/catalog/product", "assetPath": "/../var/magento2-sample-data/pub/media", "api": { "url": "<MY_URL>/rest", "consumerKey": "<MY_CONSUMER_KEY>", "consumerSecret": "<MY_SECRET_KEY>", "accessToken": "<MY_ACCESS_TOKEN>", "accessTokenSecret": "<MY_ACCESS_TOKEN_SECRET>" }, "url": "<MY_URL>" },

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

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

Appreciate your support.

azizantoun avatar May 12 '20 08:05 azizantoun

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

simonmaass avatar Jun 18 '20 12:06 simonmaass