Skip to content

Commit

Permalink
Configure environment
Browse files Browse the repository at this point in the history
  • Loading branch information
allanlang committed Jul 6, 2022
1 parent 476139d commit 8a35178
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Tree Tracker/AppDelegate.swift
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ class AppDelegate: UIResponder, UIApplicationDelegate {
func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {
let config = RollbarConfig()
config.destination.accessToken = Secrets.rollbarAuthToken

config.destination.environment = "local"

Rollbar.initWithConfiguration(config)
Rollbar.infoMessage("App startup")

Expand Down

0 comments on commit 8a35178

Please sign in to comment.