diff --git a/.gitignore b/.gitignore
index ec66067d..06b7a0cc 100644
--- a/.gitignore
+++ b/.gitignore
@@ -13,6 +13,7 @@ tmp/
local.properties
.settings/
.loadpath
+.DS_Store
# Eclipse Core
.project
diff --git a/pom.xml b/pom.xml
index b3e7535b..72600d66 100644
--- a/pom.xml
+++ b/pom.xml
@@ -51,7 +51,7 @@
admin
2.10.0
1.5.0
- 1.6.1
+ 1.7.0
6.0.0-magento235
5.1.2
UTF-8
diff --git a/ui.frontend/src/main/components/App/App.js b/ui.frontend/src/main/components/App/App.js
index d190548f..dd5b2559 100644
--- a/ui.frontend/src/main/components/App/App.js
+++ b/ui.frontend/src/main/components/App/App.js
@@ -35,12 +35,15 @@ import partialConfig from './config';
import '../../site/main.scss';
const App = () => {
- const { storeView, graphqlEndpoint } = document.querySelector('body').dataset;
+ const { storeView, graphqlEndpoint, graphqlMethod } = document.querySelector('body').dataset;
const { mountingPoints, pagePaths } = partialConfig;
const config = {
...partialConfig,
storeView,
- graphqlEndpoint
+ graphqlEndpoint,
+ // Can be GET or POST. When selecting GET, this applies to cache-able GraphQL query requests only. Mutations
+ // will always be executed as POST requests.
+ graphqlMethod
};
return (