mirror of
https://github.com/scratchfoundation/scratch-desktop.git
synced 2025-03-13 14:23:31 -04:00
This effectively hardcodes `device-manager.scratch.mit.edu` to `127.0.0.1` within Scratch Desktop. Note that using "host-rules" instead of "host-resolver-rules" doesn't work: it results in ERR_CERT_COMMON_NAME_INVALID because the browser expects Scratch Link's certificate to list "127.0.0.1" as its host name. Using "host-resolver-rules" means that the IP is used for the connection only, and not for certificate validation. See here for more details: https://www.electronjs.org/docs/api/command-line-switches#--host-rulesrules https://www.electronjs.org/docs/api/command-line-switches#--host-resolver-rulesrules |
||
---|---|---|
.. | ||
common | ||
icon | ||
main | ||
renderer | ||
.eslintrc.js |