mirror of
https://github.com/sussy-code/smov.git
synced 2024-12-20 14:37:43 +01:00
Cloudflare transition downtime notice
This commit is contained in:
parent
4a4f82735c
commit
2e4d3ac832
2 changed files with 3 additions and 3 deletions
|
@ -198,8 +198,8 @@
|
||||||
"downtimeNotice": {
|
"downtimeNotice": {
|
||||||
"badge": "Maintenance",
|
"badge": "Maintenance",
|
||||||
"goHome": "Go home",
|
"goHome": "Go home",
|
||||||
"message": "sudo-flix.lol is dedicated to providing its users with the most up-to-date and stable experience in order to do this we must maintain and update our servers. Expect downtime between the below times.",
|
"message": "sudo-flix.lol is dedicated to providing its users with the most up-to-date and stable experience in order to do this we are switching to a new DNS. Expect downtime between the below times.",
|
||||||
"timeFrame": "<bold>March 4th 1:00 PM - 1:30 AM</bold>",
|
"timeFrame": "<bold>March 10th 7:00 PM - 7:30 AM</bold>",
|
||||||
"title": "Maintenance expected"
|
"title": "Maintenance expected"
|
||||||
},
|
},
|
||||||
"onboarding": {
|
"onboarding": {
|
||||||
|
|
|
@ -88,7 +88,7 @@ function QueryView() {
|
||||||
function App() {
|
function App() {
|
||||||
useHistoryListener();
|
useHistoryListener();
|
||||||
useOnlineListener();
|
useOnlineListener();
|
||||||
const maintenance = false; // Changing to true shows maintenance page
|
const maintenance = true; // Changing to true shows maintenance page
|
||||||
const [showDowntime, setShowDowntime] = useState(maintenance);
|
const [showDowntime, setShowDowntime] = useState(maintenance);
|
||||||
|
|
||||||
const handleButtonClick = () => {
|
const handleButtonClick = () => {
|
||||||
|
|
Loading…
Reference in a new issue