Skip to content

Commit 2ef86b2

Browse files
committed
cleanup
1 parent a2640b9 commit 2ef86b2

File tree

2 files changed

+0
-17
lines changed

2 files changed

+0
-17
lines changed

domains.json

-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
[
2-
["test.docs.page", "invertase/docs.page"],
32
["use.docs.page", "invertase/docs.page"],
43
["docs.globe.dev", "invertase/globe"],
54
["docs.turing.sh", "TuringAI-Team/turing-ai-api"],

website/app/routes/_layout._index/route.tsx

-16
Original file line numberDiff line numberDiff line change
@@ -9,25 +9,9 @@ import { Features } from "./Features";
99
import { Hero } from "./Hero";
1010
import { Platform } from "./Platform";
1111

12-
import { loader as docsRouteLoader } from "~/routes/$/route";
13-
import { LoaderFunctionArgs } from "@vercel/remix";
14-
1512
export const links = getLinkDescriptors;
1613
export const meta = getMetadata;
1714

18-
export const loader = async (args: LoaderFunctionArgs) => {
19-
const url = new URL(args.request.url);
20-
21-
console.log('URL HOSTNAME', url.hostname);
22-
23-
// If url hostname is not docs.page or staging.docs.page, we need to return the docsRouteLoader
24-
if (!["docs.page", "staging.docs.page"].includes(url.hostname)) {
25-
return docsRouteLoader(args);
26-
}
27-
28-
return {};
29-
};
30-
3115
export default function Homepage() {
3216
return (
3317
<>

0 commit comments

Comments
 (0)