diff --git a/apple/OmnivoreKit/Sources/App/Views/SelfHostSettingsView.swift b/apple/OmnivoreKit/Sources/App/Views/SelfHostSettingsView.swift index 837650c10..23dab3ccd 100644 --- a/apple/OmnivoreKit/Sources/App/Views/SelfHostSettingsView.swift +++ b/apple/OmnivoreKit/Sources/App/Views/SelfHostSettingsView.swift @@ -90,6 +90,16 @@ struct SelfHostSettingsView: View { .accentColor(.blue) .frame(maxWidth: .infinity, alignment: .leading) + Button(action: { + AppEnvironment.setCustom(serverBaseURL: "https://api-prod.omnivore.app", + webAppBaseURL: "https://omnivore.app", + ttsBaseURL: "https://tts.omnivore.app") + dataService.switchAppEnvironment(appEnvironment: AppEnvironment.prod) + dismiss() + }, label: { + Text("Reset self hosting settings") + }) + #if os(macOS) Spacer() HStack {