From 8a35178f03092acc631bd823cf55b0bf27eb1252 Mon Sep 17 00:00:00 2001 From: Allan Lang Date: Wed, 6 Jul 2022 09:32:19 +0100 Subject: [PATCH] Configure environment --- Tree Tracker/AppDelegate.swift | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Tree Tracker/AppDelegate.swift b/Tree Tracker/AppDelegate.swift index 35c724b..e79518f 100644 --- a/Tree Tracker/AppDelegate.swift +++ b/Tree Tracker/AppDelegate.swift @@ -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")