From c86c29afe7c28a3cd43304cc204750d5e2736660 Mon Sep 17 00:00:00 2001 From: CMK Date: Mon, 26 Jul 2021 16:15:50 +0800 Subject: [PATCH] chore: set app website --- Mastodon/Service/APIService/APIService+App.swift | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Mastodon/Service/APIService/APIService+App.swift b/Mastodon/Service/APIService/APIService+App.swift index b5b1d8686..1575e6561 100644 --- a/Mastodon/Service/APIService/APIService+App.swift +++ b/Mastodon/Service/APIService/APIService+App.swift @@ -19,11 +19,13 @@ extension APIService { private static let clientName = "Mastodon for iOS" #endif + private static let appWebsite = "https://joinmastodon.org/apps" + func createApplication(domain: String) -> AnyPublisher, Error> { let query = Mastodon.API.App.CreateQuery( clientName: APIService.clientName, redirectURIs: MastodonAuthenticationController.callbackURL, - website: nil + website: APIService.appWebsite ) return Mastodon.API.App.create( session: session,