@opengis/fastify-table
Version:
core-plugins
14 lines (13 loc) • 348 B
JavaScript
// TODO delete style when fully switch to the new code with merge
const createTemplate = ({ domain, html }) => `\
<html>
<head>
<base uri="http://${domain}/">
<meta charset="utf-8">
<style>html, body {font-size: 10pt ;}</style>
</head>
<body>
${html || ''}
</body>
</html`;
export default createTemplate;