peer-calls/views/call.html
Jerko Steiner a828b1570d Replace doT with ejs
doT had a security vulnerability and ejs has even fewer dependencies:

https://www.npmjs.com/advisories/798
2019-11-19 23:41:34 -03:00

16 lines
428 B
HTML

<!DOCTYPE html>
<html>
<head>
<title>Peer Call</title>
<%- include('./_header.html') %>
</head>
<body class="call">
<input type="hidden" id="baseUrl" value="<%= baseUrl %>">
<input type="hidden" id="callId" value="<%= callId %>">
<input type="hidden" id="iceServers" value='<%- JSON.stringify(iceServers) %>'>
<div id="container"></div>
<script src="<%= baseUrl + '/static/index.js' %>"></script>
</body>
</html>