File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -33,6 +33,8 @@ pub const BSO_ID_REGEX: &str = r"[ -~]{1,64}";
3333pub const COLLECTION_ID_REGEX : & str = r"[a-zA-Z0-9._-]{1,32}" ;
3434pub 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" ;
3638const MYSQL_UID_REGEX : & str = r"[0-9]{1,10}" ;
3739const 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 )
You can’t perform that action at this time.
0 commit comments