Skip to content

Commit 143d792

Browse files
save file
1 parent 99dc00b commit 143d792

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

html/404/404.html

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,12 @@
3434

3535
<script>
3636

37-
var url = {url};
37+
window.onload = function(){
38+
39+
var url = window.location.toString();
40+
document.querySelector('#url').textContent = url;
41+
42+
}//onload
3843

3944
</script>
4045

0 commit comments

Comments
 (0)