Skip to content

Commit

Permalink
fix: async loading of redirect.js (#1995)
Browse files Browse the repository at this point in the history
  • Loading branch information
aeneasr authored Jan 8, 2025
1 parent 531fac7 commit a93065d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion docusaurus.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,10 @@ const config: Config = {
],
scripts: [
// Needed as a workaround for https://answers.netlify.com/t/trailing-slash-missing-on-proxied-netlify-site/36367
"/docs/scripts/redirect.js",
{
src: "/docs/scripts/redirect.js",
async: true,
},
{
src: "https://ory.sh/cmp/init.js",
async: true,
Expand Down

0 comments on commit a93065d

Please sign in to comment.