Skip to content

Commit

Permalink
Add frozen statuspage JSON response for testing
Browse files Browse the repository at this point in the history
this means we will be deploying testing config to production, but it
wasn't worth hard-coding a switch for this file in the dokcer build setup.

This file can conveniently be edited to check all the relevant states
of the statuspage widget.
  • Loading branch information
lukasjuhrich committed Oct 9, 2023
1 parent a702c41 commit 6d11319
Show file tree
Hide file tree
Showing 2 changed files with 998 additions and 0 deletions.
2 changes: 2 additions & 0 deletions sipa/static/js/agdsn.js
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,8 @@ function handleStatusResponse(components) {
document.addEventListener('DOMContentLoaded', () => {
new Statuspage(
'https://status.agdsn.net/pubapi/services/all',
// replace URL by this for testing
// "/static/statuspage.json",
handleStatusResponse
);
});
Loading

0 comments on commit 6d11319

Please sign in to comment.