change config flags from ssr to server to match the features

This commit is contained in:
Evan Almloff committed 2024-02-05 14:20:15 -06:00
1 parent 69e4ebe4ed
commit b63c14fab8
20 files changed
+80 -80

No files matched your search

@@ -7,7 +7,7 @@
#![allow(non_snake_case, unused)]
#[cfg(feature = "ssr")]
#[cfg(feature = "server")]
mod auth;
use dioxus::prelude::*;
@@ -19,7 +19,7 @@ fn main() {
// Hydrate the application on the client
dioxus_web::launch_cfg(app, dioxus_web::Config::new().hydrate(true));
#[cfg(feature = "ssr")]
#[cfg(feature = "server")]
{
use crate::auth::*;
use axum::routing::*;