mirror of
https://github.com/tsl0922/ttyd.git
synced 2026-01-04 18:04:22 +01:00
html: replace with preact version
This commit is contained in:
18
html/src/template.html
Normal file
18
html/src/template.html
Normal file
@@ -0,0 +1,18 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
|
||||
<title><%= htmlWebpackPlugin.options.title %></title>
|
||||
<link inline rel="icon" type="image/png" href="favicon.png">
|
||||
<% for (const css in htmlWebpackPlugin.files.css) { %>
|
||||
<link inline rel="stylesheet" src="<%= htmlWebpackPlugin.files.css[css] %>">
|
||||
<% } %>
|
||||
</head>
|
||||
<body>
|
||||
<script src="auth_token.js"></script>
|
||||
<% for (const js in htmlWebpackPlugin.files.js) { %>
|
||||
<script inline type="text/javascript" src="<%= htmlWebpackPlugin.files.js[js] %>"></script>
|
||||
<% } %>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user