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:
@@ -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",
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
"contact": {},
|
||||
"version": "1.0"
|
||||
},
|
||||
"host": "localhost:5050",
|
||||
"host": "localhost:5005",
|
||||
"basePath": "/api/admin",
|
||||
"paths": {
|
||||
"/activity-logs": {
|
||||
|
||||
@@ -1214,7 +1214,7 @@ definitions:
|
||||
- branchId
|
||||
- userId
|
||||
type: object
|
||||
host: localhost:5050
|
||||
host: localhost:5005
|
||||
info:
|
||||
contact: {}
|
||||
description: Online payment system admin API.
|
||||
|
||||
Reference in New Issue
Block a user