From 88389e4a0665776995a9a9545b6b0a3f0b9f3941 Mon Sep 17 00:00:00 2001 From: John Olheiser Date: Thu, 7 Oct 2021 02:49:45 -0500 Subject: [PATCH] Append trailing slash to default GH API URL (#411) --- server/remote/github/github.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/remote/github/github.go b/server/remote/github/github.go index 38376f489..47b05b4e5 100644 --- a/server/remote/github/github.go +++ b/server/remote/github/github.go @@ -34,8 +34,8 @@ import ( ) const ( - defaultURL = "https://github.com" // Default GitHub URL - defaultAPI = "https://api.github.com" // Default GitHub API URL + defaultURL = "https://github.com" // Default GitHub URL + defaultAPI = "https://api.github.com/" // Default GitHub API URL ) // Opts defines configuration options.