Error Page with Downtime displayed

0
Hi All, I have the custom error page (offline.html) placed in the \theme\error_page folder. Which is a static page. I would like to have a dynamic data like date and time to be passed when I want to bring the application. For example, if I am doing deployment / maintenance of the application, i would like to show this error page with the message “This application is down for maintenance and will be available at <<Date time when this app will be up>>”. Can you please help me with this?
asked
1 answers
0

Perhaps ${PROJDIR}/deployment/web/offline.html can be written to disk in the after shutdown, or you can just write it into some json file also in deployment and ajax that in in your offline.html

answered