mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-16 13:59:27 +02:00
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:
+1
-1
@@ -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.
|
||||
|
||||
@@ -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).
|
||||
|
||||
Reference in New Issue
Block a user