Skip to content

Commit 1e9b7c3

Browse files
committed
Sync up docs
1 parent d3021f4 commit 1e9b7c3

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

docs/misc/pre-rendering.md

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -111,13 +111,7 @@ app.use(
111111
);
112112

113113
// Serve static HTML and .data requests without Cache-Control
114-
app.use(
115-
"/",
116-
express.static("build/client", {
117-
// Don't redirect directory index.html requests to include a trailing slash
118-
redirect: false,
119-
})
120-
);
114+
app.use("/", express.static("build/client"));
121115

122116
// Serve remaining unhandled requests via your React Router handler
123117
app.all(

0 commit comments

Comments
 (0)