Hemmelig.app/html.js
bjarneo 0c86efd56c
refactor: use fastify vite for the dev server (#284)
* refactor: use fastify vite for the server

by doing this we do not need to have local hacks for the routes. No local proxy needed. Everything just works.

* fix: update the dockerfile build path

* fix: update package.json

* fix: fonts path
2024-03-11 13:43:20 +01:00

68 lines
2.5 KiB
JavaScript

// This is where the modification of the html has to be done
export default `<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>Hemmelig.app - Paste a password, confidential message, or private data.</title>
<link rel="icon" href="/static/favicon.ico" />
<link rel="shortcut icon" href="/static/favicon.ico" />
<link rel="manifest" href="/static/manifest.json" />
<!-- Primary Meta Tags -->
<meta name="title" content="Paste a password, confidential message, or private data." />
<meta
name="description"
content="Ensure your sensitive data remains encrypted, secure, and confidential."
/>
<!-- Open Graph / Facebook -->
<meta property="og:type" content="website" />
<meta property="og:url" content="https://www.hemmelig.app/" />
<meta
property="og:title"
content="Paste a password, confidential message, or private data."
/>
<meta
property="og:description"
content="Ensure your sensitive data remains encrypted, secure, and confidential."
/>
<meta property="og:image" content="/static/icons/icon-512x512.png" />
<!-- Twitter -->
<meta property="twitter:card" content="/static/summary_large_image" />
<meta property="twitter:url" content="https://www.hemmelig.app/" />
<meta
property="twitter:title"
content="Paste a password, confidential message, or private data."
/>
<meta
property="twitter:description"
content="Ensure your sensitive data remains encrypted, secure, and confidential."
/>
<meta property="twitter:image" content="/static/icons/icon-512x512.png" />
<meta name="theme-color" content="#231e23" />
<meta name="viewport" content="width=device-width,initial-scale=1" />
<meta name="mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-capable" content="yes" />
<link rel="apple-touch-icon" href="/static/icons/maskable-icon-192x192.png" />
<script id="__secret_config">
try {
window.__SECRET_CONFIG = {{config}}
} catch (e) {
window.__SECRET_CONFIG = '';
}
</script>
</head>
<body>
<noscript>You need to enable JavaScript to run this app.</noscript>
<div id="root"></div>
<script type="module" src="/index.jsx"></script>
</body>
</html>
`;