mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-03 06:55:59 +00:00
Make the secrets optional. (#3966)
This commit is contained in:
+12
-6
@@ -7,11 +7,17 @@
|
||||
|
||||
// Analytics and Diagnostics
|
||||
|
||||
sentryDSN = read("env:SENTRY_DSN")
|
||||
postHogHost = read("env:POSTHOG_HOST")
|
||||
postHogAPIKey = read("env:POSTHOG_API_KEY")
|
||||
rageshakeServerURL = read("env:RAGESHAKE_SERVER_URL")
|
||||
import "package://pkg.pkl-lang.org/github.com/element-hq/pkl-tools/staticcode@1.0.0#/StaticCode.pkl"
|
||||
|
||||
// Maps
|
||||
sentryDSN: String? = read?("env:SENTRY_DSN")
|
||||
postHogHost: String? = read?("env:POSTHOG_HOST")
|
||||
postHogAPIKey: String? = read?("env:POSTHOG_API_KEY")
|
||||
rageshakeServerURL: String? = read?("env:RAGESHAKE_SERVER_URL")
|
||||
mapLibreAPIKey: String? = read?("env:MAPLIBRE_API_KEY")
|
||||
|
||||
mapLibreAPIKey = read("env:MAPLIBRE_API_KEY")
|
||||
output {
|
||||
renderer = new StaticCode.Renderer {
|
||||
language = "Swift"
|
||||
objectName = "Secrets"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user