Skip to content

Commit

Permalink
Remove support for trailing slashes (#153)
Browse files Browse the repository at this point in the history
Configure both Docusaurs and Vercel to not immediately resolve pages with a `/` at the end. Instead redirect - HTTP301 - to the URL without a slash
  • Loading branch information
gkoscky authored May 21, 2024
1 parent c0f23f6 commit 5416126
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ const darkCodeTheme = require("prism-react-renderer/themes/dracula");
favicon: "img/favicon.ico",
organizationName: "flashbots", // Usually your GitHub org/user name.
projectName: "writings-website", // Usually your repo name.
trailingSlash: false,
stylesheets: [
{
href: "https://cdn.jsdelivr.net/npm/[email protected]/dist/katex.min.css",
Expand Down

0 comments on commit 5416126

Please sign in to comment.