From d73bf90f0aea31b09c1c37c64d521d148a985660 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9CNaeel=E2=80=9D?= Date: Sun, 9 Aug 2026 07:57:24 +0400 Subject: [PATCH] =?UTF-8?q?v1.1.1=20=E2=80=94=20Nubes=20design?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- server/main.go | 117 ++++++++++++++++++++++++++++++++++++++++++++----- 1 file changed, 106 insertions(+), 11 deletions(-) diff --git a/server/main.go b/server/main.go index 85b9c5a..7e9cf55 100644 --- a/server/main.go +++ b/server/main.go @@ -27,7 +27,7 @@ var ( s3Prefix = os.Getenv("S3_PREFIX") // S3 key prefix (may differ from hostname) ) -const VERSION = "1.1.0" +const VERSION = "1.1.1" // Terraform Registry Protocol Structs type Discovery struct { @@ -142,18 +142,113 @@ func rootHandler(w http.ResponseWriter, r *http.Request) { return } w.Header().Set("Content-Type", "text/html; charset=utf-8") - fmt.Fprintf(w, ` - - -Terra Registry v`+VERSION+` + fmt.Fprintf(w, ` + + + + +Terraform Registry · Nubes + + -

Terra Registry & Documentation Server v`+VERSION+`

-

Status: ONLINE

-
-

Powered by Nubes Cloud S3 Storage

+
+ + + +
+
+
+
Terraform Provider Registry
+
+
+ Статус + ONLINE +
+
+ Версия + v`+VERSION+` +
+
+ Discovery + /.well-known/terraform.json +
+
+ Провайдеры + /v1/providers/ +
+
+
+
+ - -`) +`) } func proxyHandler(w http.ResponseWriter, r *http.Request) {