Update Swagger host to port 5005 and harden Gin trusted proxies.

Also add shared nginx config for test.webulgam.com with online-backend path.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-08-07 18:47:30 +05:00
parent 30bcfefc1e
commit ba53b5b5c2
7 changed files with 98 additions and 9 deletions

View File

@@ -7094,7 +7094,7 @@ const docTemplate = `{
// SwaggerInfo holds exported Swagger Info so clients can modify it
var SwaggerInfo = &swag.Spec{
Version: "1.0",
Host: "localhost:5050",
Host: "localhost:5005",
BasePath: "/api/admin",
Schemes: []string{},
Title: "Service APIs",

View File

@@ -6,7 +6,7 @@
"contact": {},
"version": "1.0"
},
"host": "localhost:5050",
"host": "localhost:5005",
"basePath": "/api/admin",
"paths": {
"/activity-logs": {

View File

@@ -1214,7 +1214,7 @@ definitions:
- branchId
- userId
type: object
host: localhost:5050
host: localhost:5005
info:
contact: {}
description: Online payment system admin API.