@symbo.ls/create 2.10.5 → 2.10.7

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.
Files changed (2) hide show
  1. package/index.js +2 -2
  2. package/package.json +2 -2
package/index.js CHANGED
@@ -12,6 +12,7 @@ import { define } from './define'
12
12
  const { SYMBOLS_KEY } = process.env // eslint-disable-line no-unused-vars
13
13
 
14
14
  const defaultOptions = {
15
+ endpoint: 'localhost:13335',
15
16
  state: {},
16
17
  pages: {},
17
18
  system: {
@@ -29,8 +30,7 @@ export const create = async (App, options = defaultOptions) => {
29
30
  if (appIsKey) App = {}
30
31
  if (key) {
31
32
  if (options.remote) {
32
- const data = await fetchRemote(key, { BACKEND_URL: 'localhost:13335' })
33
- console.log(data)
33
+ const data = await fetchRemote(key, { endpoint: options.endpoint })
34
34
  overwriteDeep(data, options)
35
35
  }
36
36
  }
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "@symbo.ls/create",
3
- "version": "2.10.5",
3
+ "version": "2.10.7",
4
4
  "license": "MIT",
5
- "gitHead": "614afbbf57d200489f96fe12ed4bd45aecd8cffc",
5
+ "gitHead": "ef5cafc47b8790ac2f39666c7255ff0d43e70a0e",
6
6
  "source": "index.js",
7
7
  "main": "index.js",
8
8
  "dependencies": {