@geode/opengeodeweb-front 9.0.0 → 9.0.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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/stores/infra.js +4 -4
package/package.json CHANGED
@@ -37,7 +37,7 @@
37
37
  },
38
38
  "description": "OpenSource Vue/Vuetify framework for web applications",
39
39
  "type": "module",
40
- "version": "9.0.0",
40
+ "version": "9.0.1",
41
41
  "main": "./nuxt.config.js",
42
42
  "dependencies": {
43
43
  "@geode/opengeodeweb-back": "5.0.0",
package/stores/infra.js CHANGED
@@ -11,20 +11,20 @@ export const use_infra_store = defineStore("infra", {
11
11
  is_cloud() {
12
12
  return !isElectron() && !process.env.NODE_ENV === "development"
13
13
  },
14
- domain_name(state) {
15
- if (state.is_cloud) {
14
+ domain_name() {
15
+ if (this.is_cloud) {
16
16
  return useRuntimeConfig().public.API_URL
17
17
  } else {
18
18
  return "localhost"
19
19
  }
20
20
  },
21
- lambda_url(state) {
21
+ lambda_url() {
22
22
  const geode_store = use_geode_store()
23
23
  const public_runtime_config = useRuntimeConfig().public
24
24
  const url =
25
25
  geode_store.protocol +
26
26
  "://" +
27
- state.domain_name +
27
+ this.domain_name +
28
28
  ":" +
29
29
  geode_store.port +
30
30
  public_runtime_config.SITE_BRANCH +