aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Hutch/Views/Auth/AuthView.swift2
-rw-r--r--README.md2
2 files changed, 2 insertions, 2 deletions
diff --git a/Hutch/Views/Auth/AuthView.swift b/Hutch/Views/Auth/AuthView.swift
index d114981..91534b0 100644
--- a/Hutch/Views/Auth/AuthView.swift
+++ b/Hutch/Views/Auth/AuthView.swift
@@ -3,7 +3,7 @@ import SwiftUI
/// Token entry screen shown when the user is not authenticated.
struct TokenEntryView: View {
private let createAccountURL = URL(string: "https://meta.sr.ht/register")!
- private let personalAccessTokensURL = URL(string: "https://meta.sr.ht/oauth/personal-access-tokens")!
+ private let personalAccessTokensURL = URL(string: "https://meta.sr.ht/oauth2/personal-token")!
@Environment(AppState.self) private var appState
@State private var token = ""
diff --git a/README.md b/README.md
index 1d8b938..c81a7c4 100644
--- a/README.md
+++ b/README.md
@@ -44,7 +44,7 @@ Some SourceHut services are still browser-only from within Hutch. Unsupported ar
You can create a token at:
-- `https://meta.sr.ht/oauth/personal-access-tokens`
+- `https://meta.sr.ht/oauth2/personal-token`
## Using Hutch