Skip to content
This repository has been archived by the owner on Jul 2, 2024. It is now read-only.

Commit

Permalink
eslint
Browse files Browse the repository at this point in the history
  • Loading branch information
jhchabran committed Jun 20, 2024
1 parent e131edb commit 868280c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/scripts/redirects.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@ async function readNotionMigrationRedirects() {
// To go around that, we add a new field 'force' that the script that
// generate the final _redirects file used by Netlify uses to append
// 301! on that entry, effectively forcing the redirection.
for ( let entry of data.redirections ) {
entry["force"] = true
for ( const entry of data.redirections ) {
entry.force = true
}
return data
}
Expand Down

0 comments on commit 868280c

Please sign in to comment.