2
0
mirror of https://github.com/tenrok/axios.git synced 2026-06-14 18:42:33 +03:00

chore(docs): fix contribution guide (#5935)

chore(docs): fix contribution guide (#5935)
This commit is contained in:
Shin'ya Ueoka
2025-01-31 04:09:12 +09:00
committed by GitHub
parent f3723f5ad6
commit 4719d7c219
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -21,7 +21,7 @@ Please update the [docs](README.md) accordingly so that there are no discrepanci
## Developing
- `npm run test` run the jasmine and mocha tests
- `npm run build` run webpack and bundle the source
- `npm run build` run rollup and bundle the source
- `npm run version` prepare the code for release
Please don't include changes to `dist/` in your pull request. This should only be updated when releasing a new version.
+2 -2
View File
@@ -1,4 +1,4 @@
import axios from '../index';
import axios from '../index.js';
const URL = 'http://127.0.0.1:3000/api';
const BODY = {
@@ -17,4 +17,4 @@ axios.get(URL, { params: BODY })
// POST
axios.post(URL, BODY)
.then(handleSuccess)
.catch(handleFailure);
.catch(handleFailure);