Skip to content

Commit bad8010

Browse files
committed
Added /site_branch/tools to create_backend
1 parent d9305e7 commit bad8010

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stores/cloud.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ export const use_cloud_store = defineStore('cloud', {
5252
const errors_store = use_errors_store()
5353
const config = useRuntimeConfig()
5454
const public_runtime_config = config.public
55-
const { data, error } = await useFetch(`${public_runtime_config.GEODE_PROTOCOL}://${public_runtime_config.API_URL}:${public_runtime_config.GEODE_PORT}/createbackend`, { method: 'POST' })
55+
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}/tools/createbackend`, { method: 'POST' })
5656
if (data.value !== null) {
5757
this.ID = data.value.ID
5858
localStorage.setItem('ID', data.value.ID)

0 commit comments

Comments
 (0)