We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ef909d0 commit ec784a6Copy full SHA for ec784a6
src/main/utils/Hosts.js
@@ -33,6 +33,7 @@ export default class Hosts {
33
* @param domain {string}
34
*/
35
static async delete(domain) {
36
+ if (domain === 'localhost') return
37
let path = GetPath.getHostsPath();
38
if (!await FileUtil.Exists(path)) {
39
return;
0 commit comments