From cc6115f30c727b5ac87c0be03fe37529959d91e4 Mon Sep 17 00:00:00 2001 From: l2vator Date: Wed, 14 Aug 2024 14:36:13 +0900 Subject: [PATCH] =?UTF-8?q?[=EC=98=A4=EC=8A=B9=EC=84=9D]=20GetyDivisionAdd?= =?UTF-8?q?ress=20=ED=95=A0=20=EB=95=8C=20div.State=EA=B0=80=20restricted?= =?UTF-8?q?=20=EC=9D=B8=20=EA=B2=BD=EC=9A=B0=20=EA=B3=B5=EC=A7=80=20?= =?UTF-8?q?=EB=B9=A0=EC=A7=84=EB=B6=80=EB=B6=84=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/service.go | 1 + 1 file changed, 1 insertion(+) diff --git a/core/service.go b/core/service.go index 10f8b51..3e5aad4 100644 --- a/core/service.go +++ b/core/service.go @@ -1097,6 +1097,7 @@ func (sh *serviceDescription) serveHTTP(w http.ResponseWriter, r *http.Request) addrresp = div.urlsSerialized } else if div.Maintenance != nil { // 권한이 없으므로 공지 + addrresp = []byte(fmt.Sprintf(`{"notice":"%s"}`, div.Maintenance.link)) } else { logger.Println("div.Maintenance is nil :", divname) }