Skip to content

Commit b6054a7

Browse files
Merge pull request #139 from Geode-solutions/next
Next
2 parents 3cb3a07 + 90d322d commit b6054a7

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

stores/infra.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,20 +11,20 @@ export const use_infra_store = defineStore("infra", {
1111
is_cloud() {
1212
return !isElectron() && !process.env.NODE_ENV === "development"
1313
},
14-
domain_name(state) {
15-
if (state.is_cloud) {
14+
domain_name() {
15+
if (this.is_cloud) {
1616
return useRuntimeConfig().public.API_URL
1717
} else {
1818
return "localhost"
1919
}
2020
},
21-
lambda_url(state) {
21+
lambda_url() {
2222
const geode_store = use_geode_store()
2323
const public_runtime_config = useRuntimeConfig().public
2424
const url =
2525
geode_store.protocol +
2626
"://" +
27-
state.domain_name +
27+
this.domain_name +
2828
":" +
2929
geode_store.port +
3030
public_runtime_config.SITE_BRANCH +

0 commit comments

Comments
 (0)