You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In my project I have defined env variables for the server (database URL etc) in .cargo/config.toml file and if I run the fullstack app with cargo run --features server the environment is correctly set up. However, if running it with dx serve, none of the env variables are set.
Steps To Reproduce
Steps to reproduce the behavior:
create a .cargo/config.toml with an [env] section and define some environment variables
run the project wth dx serve
the env variables are not set for the server executable
Expected behavior
Should work the same as cargo run
Environment:
Dioxus version: 0.5.4 (cli)
Rust version: 1.76
OS info: Win11 WSL2 Ubuntu
App platform: fullstack
The text was updated successfully, but these errors were encountered:
Problem
In my project I have defined env variables for the server (database URL etc) in
.cargo/config.toml
file and if I run the fullstack app withcargo run --features server
the environment is correctly set up. However, if running it withdx serve
, none of the env variables are set.Steps To Reproduce
Steps to reproduce the behavior:
.cargo/config.toml
with an[env]
section and define some environment variablesdx serve
Expected behavior
Should work the same as
cargo run
Environment:
The text was updated successfully, but these errors were encountered: