scratch-desktop/src
Christopher Willis-Ford d1195c5332 make Scratch Link connections work w/o DNS
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
2020-08-12 15:54:28 -07:00
..
common use minilog for logging, like scratch-gui 2020-05-20 17:05:00 -07:00
icon Add icon 2018-12-13 12:01:08 -08:00
main make Scratch Link connections work w/o DNS 2020-08-12 15:54:28 -07:00
renderer Revert "Merge pull request #131 from cwillisf/rename-to-scratch" 2020-08-04 10:41:32 -07:00
.eslintrc.js Add ElectronStorageHelper to load bundled assets 2018-10-24 09:47:59 -07:00