Unverified Commit 72d8d01b authored by matusrebros's avatar matusrebros
Browse files

redirect fix

parent d9cbffd5
body{min-width:100vw;min-height:100vh;display:flex;flex-direction:column;justify-content:center;align-items:center;font-size:1.4em}table,th,td{border:1px solid black}td{padding:8px}button.copy{background:none;border:none;cursor:pointer}.deeplink-wrapper{background:lightblue}.deeplink-wrapper:hover{background:#86c5da}.generator{min-width:100vw;min-height:100vh;display:flex;flex-direction:column;justify-content:center;align-items:center}.generator input{width:100%;max-width:400px;font-size:1.5em}.generator input[type=submit]{margin-top:32px;max-width:200px;cursor:pointer}.list-page{min-width:100vw;min-height:100vh;display:flex;justify-content:center;align-items:center}.list-page table{width:100%;max-width:800px}
body{min-width:100vw;min-height:100vh;display:flex;flex-direction:column;justify-content:center;align-items:center;font-size:1.4em}table,th,td{border:1px solid black}td{padding:8px}button.copy{background:none;border:none;cursor:pointer}.deeplink-wrapper{background:lightblue}.deeplink-wrapper:hover{background:#86c5da}.generator{min-width:100vw;min-height:100vh;display:flex;flex-direction:column;justify-content:center;align-items:center}.generator input{width:100%;max-width:400px;font-size:1.5em}.generator input[type=submit]{margin-top:32px;max-width:200px;cursor:pointer}.list-page{min-width:100vw;min-height:100vh;display:flex;justify-content:center;align-items:center}.list-page table{width:100%;max-width:800px}*{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}html{scroll-behavior:smooth;overflow-x:hidden}textarea{resize:none}body,html{text-rendering:optimizeLegibility;text-rendering:geometricPrecision;font-smooth:always;font-smoothing:antialiased;-moz-font-smoothing:antialiased;-webkit-font-smoothing:antialiased;-webkit-font-smoothing:subpixel-antialiased}*,html,*:before,*:after{box-sizing:border-box;margin:0;padding:0;border:0}a{text-decoration:none;color:#000}ul,ol{list-style:none}body{font-size:100%}
......@@ -21,9 +21,13 @@ if ($result->num_rows > 0) {
}
if (isMobile()) {
header("HTTP/1.1 301 Moved Permanently");
header('Location: ' . $MobileLink);
exit();
} else {
header("HTTP/1.1 301 Moved Permanently");
header('Location: ' . $DesktopLink);
exit();
}
}
} else {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment