xxxxxxxxxx
webView.configuration.preferences.setValue(true, forKey: "allowFileAccessFromFileURLs")
xxxxxxxxxx
# If you want model using either file:// or C:/,
# which stays true to the error message as they are not http://.
# You need a webserver for app-running from http:// protokoll.
# Example for model using (how to can get error with app-running from file:// or c:/ protokols)
- index.html
<script type="module" src="./script.js" />
- script.js
import from