forked from martamyszki/git-dev-warsztaty-presentation
-
Notifications
You must be signed in to change notification settings - Fork 32
/
index.html
38 lines (31 loc) · 1.05 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
---
---
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="robots" content="noindex">
</head>
<body>
<script>
try {
if (window.location.search.length > 0) {
var requestDetailsJson = "{ " +
'"requestPurpose": "' + "i" + '",' +
'"cameFromUrl": "' + window.location.href + '",' +
'"cameFromUrlJekyll": "' + "{{ page.url }}" + '",' +
'"time": "' + new Date().toString() + '"' +
'}';
// $.post('{{ site.url }}/.netlify/functions/send', requestDetailsJson);
var request = new XMLHttpRequest();
request.open('POST', '{{ site.url }}/.netlify/functions/send', false);
request.send(requestDetailsJson);
}
}
catch (e) {
}
var forwardAddress = "{{ site.url }}/materialy/11-git-trickow-do-codziennej-pracy-gitwarsztatypl.pdf";
window.location.replace(forwardAddress);
</script>
</body>
</html>