Append trailing slash to default GH API URL (#411)

This commit is contained in:
John Olheiser 2021-10-07 02:49:45 -05:00 committed by GitHub
parent 5ef7e3c8e6
commit 88389e4a06
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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.