浏览代码

Listen on all interfaces

Svilen Markov 7 月之前
父节点
当前提交
2dce9b4c48
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      internal/glance/main.go

+ 1 - 1
internal/glance/main.go

@@ -163,7 +163,7 @@ func serveUpdateNoticeIfConfigLocationNotMigrated(configPath string) bool {
 	})
 
 	server := http.Server{
-		Addr:    "localhost:8080",
+		Addr:    ":8080",
 		Handler: mux,
 	}
 	server.ListenAndServe()