Hi,
Please could somebody help me?
I try to build my site with sort of landing page with a code:
import wixLocation from ‘wix-location’;
$w.onReady(function () {
setTimeout(() => {
wixLocation.to(“/home”);
}, 1200);
});
But it is not working in Safari almost every third time, Mozilla Firefox takes almost 20 seconds and mobile version 40! It is not accetable. How is possible to fix it?
Please is there an option where I do not need to use “onReady”? Does it take less when I set only the time for redirect from page to page /without on ready if it is possible/
I would appreciate any kind of help. I am desperated.
Thank you!
Kind regards,
Petra