1
0
mirror of https://github.com/kataras/iris.git synced 2026-01-11 05:55:57 +00:00

add 'DirOptions.PushTargets' for http/2 push on index(es) - #1562

Former-commit-id: 5a3f626ba0fbcf10be979b5a800eba51e88602cd
This commit is contained in:
Gerasimos (Makis) Maropoulos
2020-07-16 08:03:55 +03:00
parent 38eec57e46
commit fba8492e78
16 changed files with 275 additions and 99 deletions

View File

@@ -0,0 +1,3 @@
body {
background-color: black;
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

View File

@@ -0,0 +1,18 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="icon" href="/favicon.ico" type="image/x-icon" />
<link rel="stylesheet" href="/public/css/main.css" />
<title>File Server</title>
</head>
<body>
<input type="button" onclick="onClick()" value="Click me!" />
<script type="text/javascript" src="/public/js/main.js"></script>
</body>
</html>

View File

@@ -0,0 +1,5 @@
console.log("example");
function onClick() {
window.alert("button clicked");
}