2
0
mirror of https://github.com/tenrok/axios.git synced 2026-05-15 11:59:42 +03:00

docs(readme): fix Request Config options code highlight (#6480)

docs(readme): fix Request Config options code highlight (#6480)
This commit is contained in:
Bernardo da Eira Duarte
2025-01-31 14:05:08 -03:00
committed by GitHub
parent 896f9af1be
commit b5b063e476
+1 -1
View File
@@ -451,7 +451,7 @@ These are the available config options for making requests. Only the `url` is re
},
// Also, you can set the name of the built-in adapter, or provide an array with their names
// to choose the first available in the environment
adapter: 'xhr' // 'fetch' | 'http' | ['xhr', 'http', 'fetch']
adapter: 'xhr', // 'fetch' | 'http' | ['xhr', 'http', 'fetch']
// `auth` indicates that HTTP Basic auth should be used, and supplies credentials.
// This will set an `Authorization` header, overwriting any existing