static/index.html 🔗
@@ -106,6 +106,6 @@ SPDX-License-Identifier: AGPL-3.0-or-later
</div>
</div>
- <script src="/app.js"></script>
+ <script type="module" src="/app.js"></script>
</body>
</html>
Amolith created
The refactor in HEAD^ split app.js into modules with import statements,
but the script tag wasn't updated to support module syntax, causing
'Uncaught SyntaxError: import declarations may only appear at top
level
of a module' and breaking deep links and room joining.
Assisted-by: Claude Sonnet 4.5 via Crush
static/index.html | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
@@ -106,6 +106,6 @@ SPDX-License-Identifier: AGPL-3.0-or-later
</div>
</div>
- <script src="/app.js"></script>
+ <script type="module" src="/app.js"></script>
</body>
</html>