Skip to content

Conversation

@AdamJHall
Copy link
Contributor


Description of the proposed changes

This PR updates the whitelist API, maintenance mode API and maintenance file to use JSON so that the API and mesh can support having individual sites in / out of maintenance mode without affecting the others.

Other solutions considered (if any)

I considered using multiple files with a "website scope code" e.g. maintenance.au.enabled but I think that will get a bit difficult to use as site counts grow.

Notes to PR author

⚠️ Please make sure the changes adhere to the guidelines mentioned here

Notes to reviewers

🛈 When you've finished leaving feedback, please add a final comment to the PR tagging the author, letting them know that you have finished leaving feedback

Copy link
Contributor

@aaronmedina-dev aaronmedina-dev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.
Did not see any syntax error/issue.
High-level assessment of the conditions and code structure looks good.

@AdamJHall AdamJHall merged commit b9736e3 into main May 26, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants