Skip to content

Commit

Permalink
Simplify steps to connect to local backend. (#3189)
Browse files Browse the repository at this point in the history
* Update README.md

* Update pkgs/dartpad_ui/README.md

Co-authored-by: Devon Carew <devoncarew@google.com>

---------

Co-authored-by: John Ryan <ryjohn@google.com>
Co-authored-by: Devon Carew <devoncarew@google.com>
  • Loading branch information
3 people authored Mar 7, 2025
1 parent 2d3a8e2 commit 5c6f070
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions pkgs/dartpad_ui/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,9 @@ configure the `flutter run` web server to pass CORS headers for
Pass parameter `channel=localhost` to the UI.
This is example of command and URL to start and open UI at the port 8888:
This command will start and open the UI connected to local backend:
```
flutter run -d chrome --web-port 8888 --web-browser-flag "--disable-web-security"
http://localhost:8888/?channel=localhost
flutter run -d chrome --web-port 8888 --web-browser-flag "--disable-web-security" \
--web-launch-url=http://localhost:8888/?channel=localhost
```

0 comments on commit 5c6f070

Please sign in to comment.