Skip to content
This repository was archived by the owner on Jan 19, 2025. It is now read-only.

Commit fc630f5

Browse files
committed
Fixed reload url on offline page 🚀
1 parent 2497662 commit fc630f5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

_layouts/offline.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
<script type="text/javascript">
1111
window.addEventListener('load', () => {
1212
var a = document.getElementById('reloadButton');
13-
a.href = document.referrer
13+
a.href = window.location.href
1414
})
1515
</script>
1616
</html>

0 commit comments

Comments
 (0)