Skip to content

Commit

Permalink
add const.js
Browse files Browse the repository at this point in the history
  • Loading branch information
roebi authored Aug 1, 2024
1 parent 2f9e067 commit b7e3ed9
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions consts.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
// Place any global data in this file.
// You can import this data from anywhere in your project by using the `import` keyword.
// pathExpression constant for github-api-get-project
export const GITHUB_PROJECT_TOPICS = "$.topics[*]";
// pathExpression constant for github-api-get-login
export const GITHUB_LOGIN_AVATAR_URL = "$.avatar_url";
// github constants
// github api base url
export const GITHUB_API_BASE_URL = "https://api.github.com/";
// github HTML base url
// example https://github.com/roebi/01-02-Webserver-in-Go-on-Podman
export const GITHUB_HTML_BASE_URL = "https://github.com/";
// examples
// export const GITHUB_LOGIN = "roebi";
// export const GITHUB_OWNER_HTML_URL = GITHUB_HTML_BASE_URL + GITHUB_LOGIN + "/";

0 comments on commit b7e3ed9

Please sign in to comment.