Skip to content

Commit 5e50aec

Browse files
stefinie123kaviththiranga
authored andcommitted
Fix prettier issues in README.md file
1 parent 3377d07 commit 5e50aec

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,13 @@ To access the OpenChoreo services locally, you need to configure DNS resolution
2424
### Setup (Required)
2525

2626
Add the following entries to your `/etc/hosts` file:
27+
2728
```bash
2829
sudo nano /etc/hosts
2930
```
3031

3132
Add these lines:
33+
3234
```
3335
127.0.0.1 openchoreo.localhost
3436
127.0.0.1 api.openchoreo.localhost
@@ -44,6 +46,7 @@ While browsers automatically resolve `.localhost` domains to `127.0.0.1`, Node.j
4446
### Alternative Approaches
4547

4648
If you cannot modify `/etc/hosts`, you can:
49+
4750
- **Use IP directly**: Connect to `http://127.0.0.1` instead and set the `Host` header manually in your requests
4851
- **DNS lookup override**: Implement custom DNS resolution in your Node.js code to intercept `.localhost` domains
4952
- **Local DNS server**: Run `dnsmasq` or similar to handle `.localhost` wildcard resolution

0 commit comments

Comments
 (0)