dispatch/server/index.egon
2017-03-23 20:55:34 +01:00

22 lines
523 B
Plaintext

<%! data *indexData, cssPath, jsPath string %>
<%% import "encoding/json" %%>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Dispatch</title>
<link href="/<%== cssPath %>" rel="stylesheet">
<link rel="icon" href="data:;base64,=">
</head>
<body>
<div id="root"></div>
<script id="env" type="application/json"><% json.NewEncoder(w).Encode(data) %></script>
<script src="/<%== jsPath %>"></script>
</body>
</html>