Skip to content

Commit 184c8a8

Browse files
author
Josper
committed
chore: 🤖 http-svc@1.0.0-rc.9
1 parent 08cc908 commit 184c8a8

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

packages/http-svc/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
{
22
"name": "http-svc",
3-
"version": "1.0.0-rc.8",
3+
"version": "1.0.0-rc.9",
44
"description": "A HTTP request service for browser and node.js",
5+
"private": false,
56
"main": "dist/index.legacy.js",
67
"module": "dist/index.legacy.esm.js",
78
"types": "types/index.d.ts",

packages/http-svc/src/built-in/init-ctx.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@ const initCtx: IMiddlewareHandler = async function (ctx, next) {
66
if (!ctx.request) return next()
77
const { baseURL, headers, params, data, credentials = 'include' } = ctx.config
88
let url = ctx.config.url
9-
// 使用upper过的
10-
const method = ctx.request.method
119

1210
const { url: originUrl, params: originParams } = parseUrl(url)
1311
// 初始化url 和params

0 commit comments

Comments
 (0)