diff --git a/DuckDuckGo/Preferences/Model/StartupPreferences.swift b/DuckDuckGo/Preferences/Model/StartupPreferences.swift index ca27be06a0..b8492a0efb 100644 --- a/DuckDuckGo/Preferences/Model/StartupPreferences.swift +++ b/DuckDuckGo/Preferences/Model/StartupPreferences.swift @@ -72,6 +72,9 @@ final class StartupPreferences: ObservableObject { @Published var customHomePageURL: String { didSet { + if !customHomePageURL.starts(with: "http") { + customHomePageURL = "https://" + customHomePageURL + } persistor.customHomePageURL = customHomePageURL } }