Skip to content

Commit 2e76c68

Browse files
committed
chore: 配置信息修改
1 parent 8496abc commit 2e76c68

File tree

4 files changed

+11
-11
lines changed

4 files changed

+11
-11
lines changed

.rest

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
@hostname = localhost
44
@port = 8080
55
@host = {{hostname}}:{{port}}
6-
@api_host = {{host}}/api/v1
6+
@api_host = {{host}}/api
77
@schema = http
88
@contentType = application/json
99

@@ -38,7 +38,7 @@ Content-Type: {{contentType}}
3838
X-API-KEY: {{apiKey}}
3939

4040
{
41-
"original_url": "https://go.dsig.cn/shortener",
41+
"original_url": "https://go.bdev.cn/shortener",
4242
"code": "{{code}}{{$randomInt 5 200}}",
4343
"describe": "短网址"
4444
}
@@ -50,7 +50,7 @@ Content-Type: {{contentType}}
5050
X-API-KEY: {{apiKey}}
5151

5252
{
53-
"original_url": "https://go.dsig.cn/shortener",
53+
"original_url": "https://go.bdev.cn/shortener",
5454
"code": "{{code}}{{$randomInt 5 100}}",
5555
"describe": "短网址"
5656
}
@@ -61,7 +61,7 @@ Content-Type: {{contentType}}
6161
X-API-KEY: {{apiKey}}
6262

6363
{
64-
"original_url": "https://go.dsig.cn/shortener",
64+
"original_url": "https://go.bdev.cn/shortener",
6565
"code": "{{code}}",
6666
"describe": "短网址"
6767
}
@@ -85,7 +85,7 @@ Content-Type: {{contentType}}
8585
X-API-KEY: {{apiKey}}
8686

8787
{
88-
"original_url": "https://go.dsig.cn/{{code}}{{$randomInt 5 100}}",
88+
"original_url": "https://go.bdev.cn/{{code}}{{$randomInt 5 100}}",
8989
"describe": "短网址{{$randomInt 5 100}}"
9090
}
9191

@@ -96,7 +96,7 @@ Content-Type: {{contentType}}
9696
X-API-KEY: {{apiKey}}
9797

9898
{
99-
"original_url": "https://go.dsig.cn/{{code}}{{$randomInt 5 100}}",
99+
"original_url": "https://go.bdev.cn/{{code}}{{$randomInt 5 100}}",
100100
"describe": "短网址{{$randomInt 5 100}}"
101101
}
102102

config/openapi.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@
66
},
77
"servers": [
88
{
9-
"url": "http://localhost:8000/"
9+
"url": "http://localhost:8080/"
1010
},
1111
{
12-
"url": "https://localhost:8000/"
12+
"url": "https://localhost:8080/"
1313
}
1414
],
1515
"paths": {

config/openapi.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ info:
33
title: Shortener
44
version: '0.2.2'
55
servers:
6-
- url: 'http://localhost:8000/'
7-
- url: 'https://localhost:8000/'
6+
- url: 'http://localhost:8080/'
7+
- url: 'https://localhost:8080/'
88
paths:
99
/api/account/login:
1010
post:

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "shortener",
3-
"version": "0.2.2-dev",
3+
"version": "0.2.2",
44
"private": true,
55
"description": "A simple URL shortener service",
66
"scripts": {

0 commit comments

Comments
 (0)