2023-06-22, 04:40 PM
Confusing title, I know. Imma keep it short tho, I promise.
I run the vue frontend, and would love to keep users away from the old one, which also runs on a different subdomain anyways. Issue is, if I straight up disable it, the mobile app & tv wont connect since they all need the original web ui, and cant use the vue one.
Right now im doing some reeaally weird sh!t with apache to try and redirect if its not an app, but it seems harder to detect than I thought. Device detection seems impossible since some tvs have the dumbest names, checking for specific paths is what ive been trying the last two days (like login-html-xxxxxx.chunk.js and stuff like that) but they are all used on all apps etc.
Does anyone know a way to redirect confused users back to the right place? Anything thats ONLY for the web browser and no app touches? there has to be something. Or perhaps another, far simpler way of achieving my goal?
Please dont ask "Why?" btw. I just wanna do it, and its gonna give me false hopes when I see a reply and its just an unrelated question.
I run the vue frontend, and would love to keep users away from the old one, which also runs on a different subdomain anyways. Issue is, if I straight up disable it, the mobile app & tv wont connect since they all need the original web ui, and cant use the vue one.
Right now im doing some reeaally weird sh!t with apache to try and redirect if its not an app, but it seems harder to detect than I thought. Device detection seems impossible since some tvs have the dumbest names, checking for specific paths is what ive been trying the last two days (like login-html-xxxxxx.chunk.js and stuff like that) but they are all used on all apps etc.
Does anyone know a way to redirect confused users back to the right place? Anything thats ONLY for the web browser and no app touches? there has to be something. Or perhaps another, far simpler way of achieving my goal?
Please dont ask "Why?" btw. I just wanna do it, and its gonna give me false hopes when I see a reply and its just an unrelated question.