dispatch/server/index.egon

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>