We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 888e6ae commit 87e3ef7Copy full SHA for 87e3ef7
stores/infra.js
@@ -9,10 +9,9 @@ export const use_infra_store = defineStore("infra", {
9
}),
10
getters: {
11
is_cloud() {
12
- console.log("is_cloud")
13
- console.log("TEST isElectron()", isElectron())
14
- console.log("TEST process.env.NODE_ENV", process.env.NODE_ENV)
15
- return !isElectron() && !process.env.NODE_ENV === "development"
+ return (
+ !isElectron() && useRuntimeConfig().public.NODE_ENV === "production"
+ )
16
},
17
domain_name() {
18
if (this.is_cloud) {
0 commit comments