dispatch/server/index.egon
Ken-Håvard Lieng 09d57b7023 Use easyjson
2018-05-25 23:54:36 +02:00

22 lines
538 B
Plaintext

<%! data *indexData, cssPath, jsPath string %>
<%% import "github.com/mailru/easyjson" %%>
<!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"><% easyjson.MarshalToWriter(data, w) %></script>
<script src="/<%== jsPath %>"></script>
</body>
</html>