Issue with showing "Under construction" page with "Home" page

Hello,

We are facing an issue with the page loading, our app show under construction page.

As you can see from the below video when someone visits the store then shows the “Under construction” page without showing the “Home” page
For reference check this video = https://screenpal.com/watch/c0f2Q1Va8cl

But in some stores first shows the “Home” page and then shows the under construction page, this issue we are facing in some stores.
For reference check this video = https://screenpal.com/watch/c0f2QjVa8cz

How can we show directly the “Under construction” page, without showing the “Home” page?

Thanks.

Hello @tejash_patel_iw You have to put the under construction liquid file in top of the other codes I mean above the {{ header }} {{ content }} or {{ footer }} in the theme.liquid file.

Hi

We are loading our JS through the app block in the header portion.
So how can we resolve this issue using app block (theme extension)?

Thanks.