emergency throwing slate into maintenance until textile can lift our free limit or provide instructions on how to pay

This commit is contained in:
@wwwjim 2020-12-24 18:09:37 -08:00
parent 1f8bfc8e34
commit bfab445e84

View File

@ -108,6 +108,10 @@ app.prepare().then(async () => {
const isBucketsAvailable = await Utilities.checkTextile();
return res.redirect("/maintenance");
/*
if (!isBucketsAvailable && Environment.IS_PRODUCTION) {
return res.redirect("/maintenance");
}
@ -128,6 +132,8 @@ app.prepare().then(async () => {
mobile,
resources: EXTERNAL_RESOURCES,
});
*/
});
server.get("/_/integration-page", async (req, res) => {