updated website

This commit is contained in:
Paul 2020-02-08 22:13:01 +01:00
parent 0359020953
commit 01c49de4fc
2 changed files with 19 additions and 0 deletions

View File

@ -24,6 +24,7 @@
inlineMath: [['$','$'], ['\\(','\\)']]} inlineMath: [['$','$'], ['\\(','\\)']]}
}); });
</script> </script>
<script src="{{ .Site.BaseURL }}js/main.js"></script>
<link rel="icon" href="{{ .Site.BaseURL }}favicon.ico" /> <link rel="icon" href="{{ .Site.BaseURL }}favicon.ico" />
<link rel="apple-touch-icon" href="{{ .Site.BaseURL }}apple-touch-icon.png" /> <link rel="apple-touch-icon" href="{{ .Site.BaseURL }}apple-touch-icon.png" />

View File

@ -0,0 +1,18 @@
// dip service
function main() {
var jqxhr =
$.ajax({
url: "https://ip.paulbsd.com",
headers: {
'Access-Control-Allow-Origin': '*',
'Accept': 'application/json',
},
dataType: 'json',
}).done(function(){ console.log(data.ip) });
return jqxhr;
}
$(document).ready(function() {
main();
});