accounts-frontend/packages/app/index.ejs

47 lines
1.5 KiB
Plaintext
Raw Permalink Normal View History

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Ely.by - Account</title>
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="msapplication-tap-highlight" content="no">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1.0, user-scalable=no">
<% if (htmlWebpackPlugin.options.isCspEnabled) { %>
<meta http-equiv="Content-Security-Policy" content="%%CSP_CONTENT%%">
<% } %>
2017-04-13 00:04:12 +05:30
<% if (htmlWebpackPlugin.files.favicon) { %>
<link rel="shortcut icon" href="<%= htmlWebpackPlugin.files.favicon %>">
<% } %>
2017-04-13 00:04:12 +05:30
2020-05-20 21:59:48 +05:30
<%= htmlWebpackPlugin.tags.headTags %>
<script nonce="edge-must-die">
2017-04-13 00:04:12 +05:30
if (/Edge\/(must die)?/.test(navigator.userAgent)) {
// Edge has a broken fetch implementation, so forcing the polyfill
// https://www.reddit.com/r/webdev/comments/57ii4f/psa_edge_14_ships_a_broken_windowfetch/
// https://github.com/aurelia/fetch-client/issues/81
// https://developer.microsoft.com/en-us/microsoft-edge/platform/issues/9370062/
// https://developer.microsoft.com/en-us/microsoft-edge/platform/issues/7773267/
delete window.fetch;
}
</script>
</head>
<body>
<div id="app" class="app"></div>
<%= require('app/first-render').default %>
<% if (htmlWebpackPlugin.options.scripts) {
htmlWebpackPlugin.options.scripts.forEach(function(scriptSrc) {
%>
<script src="<%= scriptSrc %>"></script>
<%
});
} %>
2020-05-20 21:59:48 +05:30
<%= htmlWebpackPlugin.tags.bodyTags %>
</body>
</html>