Files
Toju/toju-app/src/index.html
Myx 232a9ea8ea
All checks were successful
Queue Release Build / prepare (push) Successful in 17s
Deploy Web Apps / deploy (push) Successful in 7m20s
Queue Release Build / build-windows (push) Successful in 25m4s
Queue Release Build / build-linux (push) Successful in 33m59s
Queue Release Build / finalize (push) Successful in 41s
test: Ensure tests work after latest changes
2026-05-19 00:52:28 +02:00

73 lines
2.3 KiB
HTML

<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>MeToYou</title>
<base href="/" />
<meta
name="viewport"
content="width=device-width, initial-scale=1"
/>
<meta
http-equiv="Content-Security-Policy"
content="default-src 'self' 'unsafe-inline' 'unsafe-eval' data: blob:; script-src 'self' 'unsafe-inline' 'unsafe-eval' data: blob: http: https:; script-src-elem 'self' 'unsafe-inline' 'unsafe-eval' data: blob: http: https:; connect-src 'self' blob: ws: wss: http: https:; media-src 'self' blob: file:; img-src 'self' data: blob: file: http: https:; frame-src https://www.youtube-nocookie.com https://open.spotify.com https://w.soundcloud.com;"
/>
<link
rel="icon"
type="image/x-icon"
href="favicon.ico"
/>
<script>
// Polyfills for Node.js modules used in browser
if (typeof global === 'undefined') {
window.global = window;
}
if (typeof process === 'undefined') {
window.process = { env: {}, browser: true, version: '', versions: {} };
}
// Add nextTick polyfill for simple-peer/streams
if (typeof process.nextTick === 'undefined') {
window.process.nextTick = function (fn) {
setTimeout(fn, 0);
};
}
if (typeof Buffer === 'undefined') {
window.Buffer = {
isBuffer: function () {
return false;
},
from: function () {
return [];
},
alloc: function () {
return [];
}
};
}
// Polyfill for util module (used by simple-peer/debug)
if (typeof window.util === 'undefined') {
window.util = {
debuglog: function () {
return function () {};
},
inspect: function (obj) {
return JSON.stringify(obj);
},
format: function () {
return Array.prototype.slice.call(arguments).join(' ');
},
inherits: function (ctor, superCtor) {
ctor.super_ = superCtor;
ctor.prototype = Object.create(superCtor.prototype, {
constructor: { value: ctor, enumerable: false, writable: true, configurable: true }
});
}
};
}
</script>
</head>
<body>
<app-root></app-root>
</body>
</html>