add polyfill for simple-peer node builtins

This commit is contained in:
Lukas Hass
2022-02-01 00:35:16 +01:00
parent 446aa6cbe3
commit 73c7785ac3
+1
View File
@@ -29,6 +29,7 @@
<base href="/">
<link href="https://unpkg.com/nes.css@2.3.0/css/nes.min.css" rel="stylesheet" />
<script>/*polyfill for simple-peer*/window.global = window; window.process = { env: {}};</script>
<title>WorkAdventure</title>
</head>