Commit Graph
8 Commits
Author SHA1 Message Date
Brian Donovan 6d154b5072 Minor Proxy Improvements (#1289)
* fix(serve): provide a clear error with pathless proxy URLs

Without this, `dx serve` panics with this message:

```
Paths must start with a `/`. Use "/" for
 root routes
 ```

 That's not very clear. Instead, we can detect this situation and provide a better error message:

```
Error: 🚫 Serving project failed: Failed to establish proxy: Proxy backend URL must have a non-empty path, e.g. http://localhost:8080/api instead of http://localhost:8080
```

* docs(config): correct format for `web.proxy`
2023-08-04 13:44:56 -05:00
Brian Donovan 420bc39ecc docs(cli): re-sync dx --help output 2023-07-23 18:57:23 -07:00
Jonathan Kelley 31a68a9743 Rename dioxus to dx 2023-07-18 18:33:14 -07:00
Jonathan Kelley cd30b42e2d Merge branch 'master' into jk/remove-dioxus-bin 2023-07-18 18:31:48 -07:00
Miles Murgaw 056effb87c feat: --bin docs 2023-07-17 18:24:03 -04:00
Jonathan Kelley df23c3c651 Update more docs 2023-07-14 13:58:49 -07:00
Jonathan Kelley 16763c065b Rename dioxus to dx in examples and fullstack 2023-07-14 13:53:06 -07:00
Jonathan Kelley a9d7b4d32a Prepare CLI for move into mainline 2023-06-28 17:21:23 -07:00