This commit is contained in:
ryan
2026-06-09 08:28:04 +08:00
parent 7579d3865f
commit b0023787c5
22 changed files with 68 additions and 109 deletions
+1 -1
View File
@@ -196,7 +196,7 @@ server {
exec_mode: 'cluster',
env: {
NODE_ENV: 'production',
LINUX_DO_CREDIT_BACKEND_URL: 'https://api.yourdomain.com'
WAVELET_BACKEND_URL: 'https://api.yourdomain.com'
}
}
]
+4 -4
View File
@@ -10,8 +10,8 @@ const docTemplate = `{
"description": "{{escape .Description}}",
"title": "{{.Title}}",
"contact": {
"name": "LINUX DO Credit",
"url": "https://linux.do"
"name": "Wavelet",
"url": "https://github.com/Rain-kl/Wavelet"
},
"license": {
"name": "Apache 2.0",
@@ -4399,8 +4399,8 @@ var SwaggerInfo = &swag.Spec{
Host: "",
BasePath: "/",
Schemes: []string{},
Title: "LINUX DO Credit",
Description: "LINUX DO Credit 平台后端 API,提供用户认证、商户 API Key 管理、系统配置等功能。",
Title: "Wavelet API",
Description: "Wavelet 平台后端 API,提供用户认证、系统配置、任务调度等通用功能。",
InfoInstanceName: "swagger",
SwaggerTemplate: docTemplate,
LeftDelim: "{{",
+4 -4
View File
@@ -1,11 +1,11 @@
{
"swagger": "2.0",
"info": {
"description": "LINUX DO Credit 平台后端 API,提供用户认证、商户 API Key 管理、系统配置等功能。",
"title": "LINUX DO Credit",
"description": "Wavelet 平台后端 API,提供用户认证、系统配置、任务调度等通用功能。",
"title": "Wavelet API",
"contact": {
"name": "LINUX DO Credit",
"url": "https://linux.do"
"name": "Wavelet",
"url": "https://github.com/Rain-kl/Wavelet"
},
"license": {
"name": "Apache 2.0",
+4 -4
View File
@@ -788,13 +788,13 @@ definitions:
type: object
info:
contact:
name: LINUX DO Credit
url: https://linux.do
description: LINUX DO Credit 平台后端 API,提供用户认证、商户 API Key 管理、系统配置等功能。
name: Wavelet
url: https://github.com/Rain-kl/Wavelet
description: Wavelet 平台后端 API,提供用户认证、系统配置、任务调度等通用功能。
license:
name: Apache 2.0
url: http://www.apache.org/licenses/LICENSE-2.0.html
title: LINUX DO Credit
title: Wavelet API
version: 1.0.0
paths:
/api/cap/challenge: