@scandipwa/magento-scripts 2.3.0 → 2.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -31,6 +31,7 @@ const setBaseUrlForScope = (scopeId, code, host) => ({
31
31
  const secureLocation = `${host}/` // SSL will work only on port 443, so you cannot run multiple projects with SSL at the same time.
32
32
  const httpUrl = `http://${location}`
33
33
  const httpsUrl = `https://${secureLocation}`
34
+ const scope = scopeId === 0 ? 'default' : 'websites'
34
35
  const table = 'core_config_data'
35
36
  const values = [
36
37
  {
@@ -63,7 +64,8 @@ const setBaseUrlForScope = (scopeId, code, host) => ({
63
64
  ['path', '=', path]
64
65
  ],
65
66
  data: {
66
- value
67
+ value,
68
+ scope
67
69
  }
68
70
  },
69
71
  ctx
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "description": "Scripts and configuration used by CMA.",
4
4
  "homepage": "https://docs.create-magento-app.com/",
5
5
  "repository": "github:scandipwa/create-magento-app",
6
- "version": "2.3.0",
6
+ "version": "2.3.1",
7
7
  "main": "./index.js",
8
8
  "types": "./typings/index.d.ts",
9
9
  "license": "OSL-3.0",
@@ -59,5 +59,5 @@
59
59
  "@types/node": "^20.10.4",
60
60
  "@types/yargs": "^17.0.13"
61
61
  },
62
- "gitHead": "d3c78393ace803e0c2f1b13c704996de932bfd2e"
62
+ "gitHead": "5c776393a371d995d72d060200bc82be44f0fa1f"
63
63
  }