Add web-based remote control with HTTPS support

This commit is contained in:
Max Goodhart
2020-06-18 15:58:30 -07:00
parent 9a9c500137
commit 32a0a189b4
19 changed files with 1203 additions and 248 deletions

19
src/web/control.ejs Normal file
View File

@@ -0,0 +1,19 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8" />
<title>Woke Streams</title>
<meta
http-equiv="Content-Security-Policy"
content="default-src 'self'; style-src 'self' 'unsafe-inline'"
/>
</head>
<body>
<script
src="control.js"
type="module"
id="main-script"
data-ws-endpoint="<%= wsEndpoint %>"
></script>
</body>
</html>