Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

merge #382

Closed
wants to merge 13 commits into from
Prev Previous commit
Next Next commit
临时更改:查看头部
  • Loading branch information
chenyinheng30 committed Nov 16, 2023
commit 568e4b7a277411eb2d5d234870f1b463fe8c631e
9 changes: 9 additions & 0 deletions layouts/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,15 @@
.then(response => response.json())
.then(ipData => handleIpApi(ipData));
</script>
<script>
var req = new XMLHttpRequest();
req.open('GET', document.location, true);
req.send(null);
req.onload = function() {
var headers = req.getAllResponseHeaders()
console.log(headers);
};
</script>

{{- /* Profile */ -}}
{{- if ne $profile.enable false -}}
Expand Down