Pug contains a lot of unnecessary dependencies leading to code bloat, which results in increased docker package size, and thus docker image size). express-dot-engine is much simpler and performs better.
16 lines
397 B
HTML
16 lines
397 B
HTML
---
|
|
layout: _layout.html
|
|
title: Peer Call
|
|
---
|
|
|
|
[[##body:
|
|
<body class="call">
|
|
<input type="hidden" id="baseUrl" value="[[=model.baseUrl]]">
|
|
<input type="hidden" id="callId" value="[[!model.callId]]">
|
|
<input type="hidden" id="iceServers" value='[[!JSON.stringify(model.iceServers)]]'>
|
|
<div id="container"></div>
|
|
|
|
<script src="[[=model.baseUrl + '/static/index.js']]"></script>
|
|
</body>
|
|
#]]
|