Skip to content

Commit

Permalink
chore: 🤖 [email protected]
Browse files Browse the repository at this point in the history
  • Loading branch information
Josper committed Sep 23, 2024
1 parent 08cc908 commit 184c8a8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 2 additions & 1 deletion packages/http-svc/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
{
"name": "http-svc",
"version": "1.0.0-rc.8",
"version": "1.0.0-rc.9",
"description": "A HTTP request service for browser and node.js",
"private": false,
"main": "dist/index.legacy.js",
"module": "dist/index.legacy.esm.js",
"types": "types/index.d.ts",
Expand Down
2 changes: 0 additions & 2 deletions packages/http-svc/src/built-in/init-ctx.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@ const initCtx: IMiddlewareHandler = async function (ctx, next) {
if (!ctx.request) return next()
const { baseURL, headers, params, data, credentials = 'include' } = ctx.config
let url = ctx.config.url
// 使用upper过的
const method = ctx.request.method

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

0 comments on commit 184c8a8

Please sign in to comment.