We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3e0cdc2 commit cc1011fCopy full SHA for cc1011f
2 files changed
app/entry.ssr.tsx
@@ -41,9 +41,9 @@ export async function generateHTML(
41
},
42
);
43
44
- // if (isbot(userAgent)) {
45
- // await htmlStream.allReady;
46
- // }
+ if (isbot(userAgent)) {
+ await htmlStream.allReady;
+ }
47
48
return htmlStream;
49
server.ts
@@ -1,4 +1,4 @@
1
-// import compression from "compression";
+import compression from "compression";
2
import express from "express";
3
import morgan from "morgan";
4
import { rateLimit } from "express-rate-limit";
@@ -22,7 +22,7 @@ app.use(limiter);
22
23
// could use fastly's compression
24
// jk already done
25
-// app.use(compression());
+app.use(compression());
26
app.disable("x-powered-by");
27
28
// TODO: use remix fetch server and remove development
0 commit comments