Skip to content

Commit

Permalink
removed commented code
Browse files Browse the repository at this point in the history
  • Loading branch information
DriftingSands committed Sep 26, 2023
1 parent 7ac8d28 commit 8c515ef
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion 404.html
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,6 @@ <h1>TAKE A MULLIGAN</h1>
import sitemap from "/import/tools/importer/data/sitemap.json" assert {type: 'json'}

const pathLocation = sitemap.find((obj) => Object.hasOwn(obj, window.location.pathname))
// debugger
if (pathLocation) {
const drivePath = '/content-v2/' + pathLocation[window.location.pathname].replace('/content/golfdigest-com/en/', '').replace('.html', '')
window.location.assign(drivePath)
Expand Down

0 comments on commit 8c515ef

Please sign in to comment.