Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
xianyunleo committed Dec 15, 2023
2 parents 484af24 + 100e965 commit d94082c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main/utils/Hosts.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ export default class Hosts {
* @param domain {string}
*/
static async delete(domain) {
if (domain === 'localhost') return
let path = GetPath.getHostsPath();
if (!await FileUtil.Exists(path)) {
return;
Expand Down

0 comments on commit d94082c

Please sign in to comment.