mirror of
https://github.com/techno-tim/littlelink-server.git
synced 2024-11-25 05:55:21 +01:00
parent
dc8b7aad9b
commit
c28499d936
@ -195,14 +195,6 @@ server
|
||||
|
||||
</head>
|
||||
<body>
|
||||
${
|
||||
runtimeConfig.MATOMO_URL && runtimeConfig.MATOMO_SITE_ID
|
||||
? `
|
||||
<!-- Matomo Image Tracker-->
|
||||
<img referrerpolicy="no-referrer-when-downgrade" src="${runtimeConfig.MATOMO_URL}matomo.php?idsite=${runtimeConfig.MATOMO_SITE_ID}&rec=1" style="border:0" alt="" />
|
||||
<!-- End Matomo -->`
|
||||
: ''
|
||||
}
|
||||
<div id="root">${markup}</div>
|
||||
<script>window.env = ${serialize(runtimeConfig)};</script>
|
||||
${jsScriptTagsFromAssets(assets, 'client', ' defer crossorigin')}
|
||||
@ -216,4 +208,4 @@ server.get('/healthcheck', (req, res) => {
|
||||
res.status(200).json({ status: 'ok' });
|
||||
});
|
||||
|
||||
export default server;
|
||||
export default server;
|
||||
|
Loading…
Reference in New Issue
Block a user