use 127.0.0.1 instead of localhost for dev usage

as oauth2 does only allow 127.0.0.1 for non https connections
see https://wiki.openstreetmap.org/wiki/OAuth#OAuth_2.0_2
This commit is contained in:
Martin Raifer
2022-06-02 14:53:43 +02:00
parent 280acfa661
commit ae8013c7cb
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -394,7 +394,7 @@ In your local copy, make a branch for this change using a descriptive branch nam
Make your changes to source files under `modules/`.
The `iD.js` and `iD.min.js` files in this project are autogenerated - don't edit them.
1. Try your change locally. Run `npm start` and visit `localhost:8080` in a browser.
1. Try your change locally. Run `npm start` and visit `http://127.0.0.1:8080` in a browser.
2. Run lint and tests with `npm test`.
3. If you feel like it, append a line describing your changes to the project's [changelog](https://github.com/openstreetmap/iD/blob/develop/CHANGELOG.md).
4. Commit your changes with an informative commit message.
+1 -1
View File
@@ -67,7 +67,7 @@ If you want to add in the full history later on, perhaps to run `git blame` or `
2. Run `npm install`
3. Run `npm run all`
3. Run `npm start`
4. Open `http://localhost:8080/` in a web browser
4. Open `http://127.0.0.1:8080/` in a web browser
For guidance on building a packaged version, running tests, and contributing to
development, see [CONTRIBUTING.md](CONTRIBUTING.md).