Skip to content

Commit d05cf81

Browse files
authored
fix: point to tokenserver api (#1970)
fix: point to tokenserver api
1 parent 0f6384f commit d05cf81

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

syncserver/src/server/mod.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,8 @@ pub const BSO_ID_REGEX: &str = r"[ -~]{1,64}";
3333
pub const COLLECTION_ID_REGEX: &str = r"[a-zA-Z0-9._-]{1,32}";
3434
pub const SYNC_DOCS_URL: &str =
3535
"https://mozilla-services.readthedocs.io/en/latest/storage/apis-1.5.html";
36+
pub const TOKENSERVER_DOCS_URL: &str =
37+
"https://mozilla-services.readthedocs.io/en/latest/token/apis.html";
3638
const MYSQL_UID_REGEX: &str = r"[0-9]{1,10}";
3739
const SYNC_VERSION_PATH: &str = "1.5";
3840

@@ -247,7 +249,7 @@ macro_rules! build_app_without_syncstorage {
247249
.service(
248250
web::resource("/").route(web::get().to(|_: HttpRequest| async {
249251
HttpResponse::Found()
250-
.insert_header((LOCATION, SYNC_DOCS_URL))
252+
.insert_header((LOCATION, TOKENSERVER_DOCS_URL))
251253
.finish()
252254
})),
253255
)

0 commit comments

Comments
 (0)