From 3fe7000d538e95f7f5a3c22ea9bc36e4d39c8235 Mon Sep 17 00:00:00 2001 From: renaldybrada Date: Wed, 25 Feb 2026 11:07:01 +0700 Subject: [PATCH] change base url --- cmd/api/main.go | 2 +- docs/docs.go | 2 +- docs/swagger.json | 2 +- docs/swagger.yaml | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/cmd/api/main.go b/cmd/api/main.go index ce353e7..5290dc5 100644 --- a/cmd/api/main.go +++ b/cmd/api/main.go @@ -38,7 +38,7 @@ func gracefulShutdown(apiServer *http.Server, done chan bool) { // @title Antrian Operasi API // @version 1.0 // @description Dokumentasi API Antrian Operasi -// @host localhost:8080 +// @host 10.10.150.184:8080 // @BasePath /api // @securityDefinitions.apikey BearerAuth diff --git a/docs/docs.go b/docs/docs.go index 2cb3849..0155ddc 100644 --- a/docs/docs.go +++ b/docs/docs.go @@ -1606,7 +1606,7 @@ const docTemplate = `{ // SwaggerInfo holds exported Swagger Info so clients can modify it var SwaggerInfo = &swag.Spec{ Version: "1.0", - Host: "localhost:8080", + Host: "10.10.150.184:8080", BasePath: "/api", Schemes: []string{}, Title: "Antrian Operasi API", diff --git a/docs/swagger.json b/docs/swagger.json index c607a65..dff91ff 100644 --- a/docs/swagger.json +++ b/docs/swagger.json @@ -6,7 +6,7 @@ "contact": {}, "version": "1.0" }, - "host": "localhost:8080", + "host": "10.10.150.184:8080", "basePath": "/api", "paths": { "/access/eligible-menu": { diff --git a/docs/swagger.yaml b/docs/swagger.yaml index 5851928..81ed26a 100644 --- a/docs/swagger.yaml +++ b/docs/swagger.yaml @@ -455,7 +455,7 @@ definitions: select: type: string type: object -host: localhost:8080 +host: 10.10.150.184:8080 info: contact: {} description: Dokumentasi API Antrian Operasi