Skip to content

Commit c9fefe8

Browse files
author
Josper
committed
docs: ✏️ perf docs text
1 parent c8d26a1 commit c9fefe8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/guide/advance/set-default-headers.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ const http = new HttpService([
1414
const { method, headers } = ctx.request
1515
// 如果是post请求
1616
if (method === 'POST') {
17-
const key = 'Content-Type' // app 安卓端 jsbridge 只认这个headers key,用这个保险
17+
const key = 'Content-Type'
1818
ctx.request.headers = {
1919
// assign
2020
...(headers || {}),

docs/reference/interface-service.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ httpSvc.request(fetchConfig)
4242
interface IFetchConfig {
4343
url: string
4444
/**
45-
* base URL(host) like '//api.bilibili.com'
45+
* base URL(host) like '//api.domain.com'
4646
*/
4747
baseURL?: FetchBaseURL
4848
/**

0 commit comments

Comments
 (0)