vue-storefront-api
vue-storefront-api copied to clipboard
Running multiple websites on one API instance
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.
not really understand what you are trying to do... you have different magento instances for each website?