Commit Graph
106 Commits
Author SHA1 Message Date
Evan Almloff 42011b7aa7 improve dioxus create 2023-06-26 13:12:42 -07:00
Evan Almloff 9fbeb84921 update to git dioxus 2023-06-26 08:53:45 -07:00
David James 741098e893 Fix typo: "NetWork" -> "Network"
"W" -> "w". In ASCII, that is +32 :)
2023-06-10 22:45:44 -04:00
YuKun Liu aa1a45a14e fix: format code 2023-05-23 13:47:18 -07:00
YuKun Liu b196affb02 fix: changed flag name to cross-origin-policy 2023-05-06 19:37:36 -07:00
Qichao Lan 4f95a0ba6b Merge branch 'master' into shared_array_buffer_as_optional_config 2023-05-06 08:18:29 +02:00
chaosprint 257465a6d5 add shared array buffer support for dev server as opt config 2023-05-06 08:13:28 +02:00
chaosprint dfe66aa54e Merge remote-tracking branch 'upstream/master' into support_dev_server_shared_array_buffer 2023-05-04 13:33:29 +02:00
chaosprint 70fc8aac0a set headers to support sab on dev server 2023-05-04 13:21:01 +02:00
Antonio Curavalea f6cd48c612 feat: open browser during serve with "--open" 2023-04-30 23:13:46 +03:00
Ben Schulz 2c787f85f4 Add proxy routes in startup_default(…) 2023-03-30 18:01:18 +02:00
Jonathan Kelley c4a307ac95 publish new version of cli
note that we have to use a slightly outdated version of the hot reloading crate.
2023-03-24 09:49:39 -07:00
Evan Almloff c5bf525547 fix reloading non rust files when hot reloading is enabled 2023-03-01 09:09:30 -06:00
Ben Sully ead183dd2c Add minimal proxy capabilities to dioxus serve
This adds an MVP of some proxying capabilities to the `dioxus serve`
server. The config is similar to that of `trunk serve`: the user can
specify one or more proxy backends under `[[web.proxy]]` in Dioxus.toml,
and the server will intercept requests targeted at the _path_ of that
configured backend and forward them to the backend server.

Example
-------

For example, if the dev server is serving on port 8080 with this config:

```
[[web.proxy]]
backend = "http://localhost:9000/api"
```

then requests to http://localhost:8080/api,
http://localhost:8080/api/ and http://localhost:8080/api/any-subpath
to be forwarded to the respective paths on http://localhost:9000.

This PR doesn't handle path rewriting or anything yet but it would be
fairly simple to add in future if anyone needs it.
2023-02-27 10:44:32 +00:00
Evan Almloff bfbda510fe log errors instead of panicing on io errors 2023-02-22 09:09:00 -06:00
Koji AGAWA 3ca4628ae6 fix: get_ip on watcher hangs on windows 2023-02-11 22:38:38 +09:00
Evan Almloff 33e3f9c360 move hot reloading utilities to dioxus repository 2022-12-23 15:42:14 -06:00
Evan Almloff 86e10a9858 fix some warnings and remove debugging statements 2022-12-22 17:00:55 -06:00
Evan Almloff 6f92e05d64 fix some warnings 2022-12-22 11:37:22 -06:00
Evan Almloff c5ac7698fa fix hot reloading 2022-12-19 20:48:35 -06:00
= 6da1b531bb WIP update templates 2022-12-18 21:00:31 -06:00
Jonathan Kelley 15ec138320 chore: fix 2022-12-11 13:01:50 -08:00
Jonathan Kelley 7d49f71cd5 fix: disable hotreloaidng stuff 2022-12-11 12:54:17 -08:00
Jonathan Kelley aa05dc3054 fix: builds of CLI 2022-12-07 12:55:28 -08:00
YuKun Liu bbc9e1b3a2 feat: default plugin info 2022-11-03 00:30:47 -07:00
YuKun Liu 5104f767b3 Merge branch 'master' of https://github.com/DioxusLabs/cli 2022-10-03 09:37:26 -07:00
Demonthos 46d46b139a Merge branch 'master' into templates 2022-10-02 07:12:14 -05:00
YuKun Liu 762093094f feat: commit code 2022-09-27 20:34:32 -07:00
YuKun Liu 52e8d9f357 Merge branch 'master' into master 2022-09-25 13:55:46 +08:00
Shiroko a0ffb3bb65 Fix jetbrains saving tmp file to tilde suffix 2022-09-24 03:25:01 +08:00
Shiroko dddaec20fc Fix program not found by fallback to ANSI-escape 2022-09-24 01:45:40 +08:00
YuKun Liu 20c29ed042 feat: add serve-shutdown support 2022-09-21 22:57:26 -07:00
YuKun Liu 37ef7c3ff9 feat: support some event 2022-09-21 16:56:36 -07:00
YuKun Liu 59b8a84530 feat: commit code 2022-08-30 21:12:57 -07:00
YuKun Liu 9f20337e5e feat: rebuild supported 2022-08-27 21:56:31 -07:00
Evan Almloff 7b9a321356 update to work with templates 2022-08-26 16:28:46 -05:00
mrxiaozhuox 6c1374edb3 feat: commit code 2022-08-22 11:00:31 -07:00
YuKun Liu 0e8414b40a Merge branch 'master' into master 2022-08-18 16:33:09 -07:00
mrxiaozhuox d9891d9f0c feat: commit build field 2022-08-18 15:54:42 -07:00
trevyn 6d9ec38eac update for notify 5.0.0-pre.16 2022-08-15 07:47:19 -04:00
YuKun Liu 66862e2310 Merge pull request #55 from Demonthos/fix_single_line_rsx_hot_reloading
fix single line rsx hot reloading
2022-07-14 21:30:11 +08:00
Evan Almloff 6c11eca05b fix single line rsx hot reloading 2022-07-14 07:38:51 -05:00
YuKun Liu 0adabf68a0 feat: clean warning info 2022-07-10 11:28:20 +08:00
YuKun Liu 6cefdcc0cf fix: typo 2022-07-09 22:37:06 +08:00
YuKun Liu d543ea19d0 feat: commit some thing 2022-07-09 22:02:33 +08:00
YuKun Liu bfaa8e3c74 feat: commit code 2022-07-09 20:54:16 +08:00
YuKun Liu 8613518c40 feat: commit code 2022-07-09 20:00:17 +08:00
YuKun Liu 78c78548e8 feat: commit prettier_build 2022-07-09 16:41:53 +08:00
YuKun Liu 526a88cab1 feat: commit code 2022-07-09 14:16:19 +08:00
YuKun Liu f57dc5212b fix: change local https to http 2022-07-06 23:01:39 +08:00