Skip to content

Commit

Permalink
Update 404.html
Browse files Browse the repository at this point in the history
  • Loading branch information
puneetbehl committed Jul 14, 2023
1 parent 1813633 commit 05541ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion 404.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

<script>
window.onload = function () {
const legacyUrlRegex = /^https:\/\/docs\.grails\.org\/[0-3]\.[0-9]\.[0-9]+/.*/;
const legacyUrlRegex = /^https:\/\/docs\.grails\.org\/[0-3]\.[0-9]\.[0-9]+?(.*)/;
const href = window.location.href;
const match = legacyUrlRegex.test(href);

Expand Down

0 comments on commit 05541ba

Please sign in to comment.