From bcd64c17f857feda40fa4f1ba4e1aa910bbeb567 Mon Sep 17 00:00:00 2001 From: Mike Crute Date: Tue, 16 Nov 2021 22:21:10 -0800 Subject: Make index template backwards compatible --- templates/index.tpl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'templates') diff --git a/templates/index.tpl b/templates/index.tpl index 2a5e853..98ca31a 100644 --- a/templates/index.tpl +++ b/templates/index.tpl @@ -179,7 +179,7 @@ } function populateAPIKey() { - document.querySelector("#api-key textarea").innerText = "Bearer " + getCookie("github-token"); + document.querySelector("#api-key textarea").innerText = getCookie("github-token"); document.querySelector("#session-expires").innerText = parseJWTExpires(getCookie("github-token")); } @@ -200,7 +200,7 @@

API Key

-

To access the API set the value of Authorization header to:

+

To access the API set the header Authorization: Bearer {token} to the token below:

Token Expires:

-- cgit v1.2.3