Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add documentation for some env vars/config options #456

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

SleeplessOne1917
Copy link
Contributor

I brought this up in the Discord channel for cargo-leptos.

Comment on lines -170 to +182
vec.push(("LEPTOS_WATCH", true.to_string()))
vec.push(("LEPTOS_WATCH", self.watch.to_string()))
}
if let Some(prefix) = self.server_fn_prefix.as_ref() {
vec.push(("SERVER_FN_PREFIX", prefix.clone()));
}
if self.disable_server_fn_hash {
vec.push(("DISABLE_SERVER_FN_HASH", true.to_string()));
vec.push((
"DISABLE_SERVER_FN_HASH",
self.disable_server_fn_hash.to_string(),
));
}
if self.server_fn_mod_path {
vec.push(("SERVER_FN_MOD_PATH", true.to_string()));
vec.push(("SERVER_FN_MOD_PATH", self.server_fn_mod_path.to_string()));
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I changed these to not use literals since boolean env vars seem to handled as NAME=value for this project.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant