Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion org-cyf-theme/assets/custom-scripts/reviews/common.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ function identifyAge(date) {
}
}

const apiPrefix = "https://github-issue-proxy.illicitonion.com/cached/2/repos/CodeYourFuture/";
const apiPrefix = "https://github-issue-proxy.hosting.codeyourfuture.io/cached/2/repos/CodeYourFuture";

class PR {
// status: one of: "Needs Review", "Reviewed", "Complete", "Closed", "Unknown"
Expand Down
4 changes: 2 additions & 2 deletions org-cyf-theme/hugo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,9 @@ root = "curriculum"
googleFonts="https://fonts.googleapis.com/css2?family=Raleway:wght@400;700&display=swap"

# We use a proxy which concatenates paginated responses, otherwise we miss results.
# Daniel is currently hosting this code https://github.com/illicitonion/github-issue-proxy but we should work out a long-term maintainable solution to this problem.
# CYF is currently hosting this code https://github.com/illicitonion/github-issue-proxy but we should work out a long-term maintainable solution to this problem.
# The /cached/120 path prefix here caches results for 2 hours to avoid rate limits. Drop the /cached/120 if you need fresh results.
orgapi = "https://github-issue-proxy.illicitonion.com/cached/120/repos/CodeYourFuture/"
orgapi = "https://github-issue-proxy.hosting.codeyourfuture.io/cached/120/repos/CodeYourFuture/"

[caches.getresource]
# Disable caching of fetches - we want every build to get up to date content for issues, so that if people make clarifications or fixes to issues, we pick them up.
Expand Down
Loading