Change service worker to web worker in readme

They are different things. Monaco uses web workers.
This commit is contained in:
Remco Haszing 2021-08-05 18:42:54 +02:00
parent e95737f7a2
commit e4c13afe52
No known key found for this signature in database
GPG key ID: 40D9F5FE9155FD3C

View file

@ -82,7 +82,7 @@ editor.create(document.createElement('editor'), {
});
```
Also make sure to register the service worker.
Also make sure to register the web worker.
## Examples