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
No known key found for this signature in database
GPG Key ID: 7C8CEF72C4039178

View File

@ -29,6 +29,7 @@
<base href="/"> <base href="/">
<link href="https://unpkg.com/nes.css@2.3.0/css/nes.min.css" rel="stylesheet" /> <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> <title>WorkAdventure</title>
</head> </head>