@geode/opengeodeweb-front 1.0.1 → 2.0.0
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.
- package/package.json +1 -1
- package/stores/cloud.js +1 -2
package/package.json
CHANGED
package/stores/cloud.js
CHANGED
|
@@ -15,7 +15,6 @@ export const use_cloud_store = defineStore('cloud', {
|
|
|
15
15
|
if (process.env.NODE_ENV == 'production') {
|
|
16
16
|
geode_url = geode_url + `/${state.ID}/geode`
|
|
17
17
|
}
|
|
18
|
-
console.log("geode_url",geode_url)
|
|
19
18
|
return geode_url
|
|
20
19
|
},
|
|
21
20
|
viewer_url: (state) => {
|
|
@@ -51,7 +50,7 @@ export const use_cloud_store = defineStore('cloud', {
|
|
|
51
50
|
const errors_store = use_errors_store()
|
|
52
51
|
const config = useRuntimeConfig()
|
|
53
52
|
const public_runtime_config = config.public
|
|
54
|
-
const { data, error } = await useFetch(`${public_runtime_config.GEODE_PROTOCOL}://${public_runtime_config.API_URL}:${public_runtime_config.GEODE_PORT}${public_runtime_config.SITE_BRANCH}/
|
|
53
|
+
const { data, error } = await useFetch(`${public_runtime_config.GEODE_PROTOCOL}://${public_runtime_config.API_URL}:${public_runtime_config.GEODE_PORT}${public_runtime_config.SITE_BRANCH}${public_runtime_config.PROJECT}/createbackend`, { method: 'POST' })
|
|
55
54
|
if (data.value !== null) {
|
|
56
55
|
this.ID = data.value.ID
|
|
57
56
|
localStorage.setItem('ID', data.value.ID)
|