-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Description
Hey,
I have some problems loading JS scripts from my HTML.
That's the HTML that I want to display in WebView:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Home</title>
<link rel="shortcut icon" href="./static/favicon.svg" type="image/x-icon" />
<link rel="stylesheet" href="./index.css">
<script type="module" src="./index.js" defer></script> <!-- Here the server responds with the wrong mime type -->
</head>
<body></body>
</html>Looks like the server always responds with MIME type of "text/html" instead of JavaScript-or-Wasm module. Is there a way I can fix this?
Thanks.
Metadata
Metadata
Assignees
Labels
No labels