📈 Open source, privacy-first web analytics — a cookie-less Google Analytics alternative with built-in error tracking and performance monitoring. Self-host it or use our cloud. Get started for free!
TypeScript chartsclickhousedockergdprgoogle-analyticsmetricsmonitoringmysqlnestjsprivacyredisself-hostedselfhostedstatisticstailwindcssweb-analyticswebanalyticswebsite
301 redirect: http -> https
Blue Mouse6ca936d8ce84
diff --git a/app/root.tsx b/app/root.tsxindex a0dee3c5c..b0990bdd5 100644--- a/app/root.tsx+++ b/app/root.tsx@@ -185,7 +185,9 @@ export async function loader({ request }: LoaderArgs) {const urlObject = new URL(url)if (!isSelfhosted && isWWW(urlObject)) {- return redirect(_replace(urlObject.href, 'www.', ''), 301)+ const nonWWWLink = _replace(urlObject.href, 'www.', '')+ const httpToHttps = _replace(nonWWWLink, 'http://', 'https://')+ return redirect(httpToHttps, 301)}const locale = detectLanguage(request)