don't pull support space IDs from .env file (#1157)
This commit is contained in:
parent
3c01ec840c
commit
3d292b2255
3 changed files with 5 additions and 4 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
|
@ -14,7 +14,7 @@ prime
|
|||
!/public/.env
|
||||
*.env.local_choreo
|
||||
*.env.prod
|
||||
|
||||
*.env
|
||||
# libolm package
|
||||
/assets/js/package
|
||||
|
||||
|
|
|
|||
|
|
@ -71,8 +71,9 @@ class Environment {
|
|||
}
|
||||
|
||||
static String get supportSpaceId {
|
||||
return dotenv.env["SUPPORT_SPACE_ID"] ??
|
||||
'!gqSNSkvwTpgumyjLsV:staging.pangea.chat';
|
||||
return isStaging
|
||||
? '!gqSNSkvwTpgumyjLsV:staging.pangea.chat'
|
||||
: '!MvJoWwKJErvFuTYOdq:pangea.chat';
|
||||
}
|
||||
|
||||
static String get supportUserId {
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ description: Learn a language while texting your friends.
|
|||
# Pangea#
|
||||
publish_to: none
|
||||
# On version bump also increase the build number for F-Droid
|
||||
version: 1.23.15+3574
|
||||
version: 1.23.16+3575
|
||||
|
||||
environment:
|
||||
sdk: ">=3.0.0 <4.0.0"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue