List of questions
Related questions
Question 21 - AD0-E722 discussion
A single Adobe Commerce Cloud instance is set up with two websites (each with a single store view) with different domains.
* The default website is website_one, with store view store_one, and domain storeone. com.
* The second website is website_two, with store view store_two, and domain storetwo. com.
The magento-vars. php file is set up as follows to determine which website each request runs against:
When testing a new GraphQL integration, all requests returned data relating to the default website, regardless of the domain. What is causing this issue?
A.
The magento-vars.php file is not processed for any GraphQL requests, so the default website is always processed.
B.
$_server['mage_run_cooe') needs to be set to store and *$_SERVER['MAGE_RUN_TYPE'] needs to be set to the store code instead.
C.
GraphQL requests are always run against the default store view unless a store header or store cookie is provided.
Your answer:
0 comments
Sorted by
Leave a comment first