build: migrate to Dioxus 0.6
This commit is contained in:
		| @@ -7,7 +7,7 @@ use dotenvy::dotenv; | ||||
| #[server] | ||||
| pub(crate) async fn get_language_identifier() -> Result<LanguageIdentifier, ServerFnError> { | ||||
|     dotenv().expect("Could not load environment variables from the .env file."); | ||||
|      | ||||
|  | ||||
|     Ok(env::var("LANGUAGE_CODE") | ||||
|         .expect("The environment variable LANGUAGE_CODE must be set.") | ||||
|         .parse::<LanguageIdentifier>()?) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user