change config flags from ssr to server to match the features
This commit is contained in:
1 parent
69e4ebe4ed
commit
b63c14fab8
20 files changed
+80
-80
No files matched your search
@@ -20,14 +20,14 @@ pub fn launch(
|
||||
vdom
|
||||
};
|
||||
|
||||
#[cfg(feature = "ssr")]
|
||||
#[cfg(feature = "server")]
|
||||
tokio::runtime::Runtime::new()
|
||||
.unwrap()
|
||||
.block_on(async move {
|
||||
platform_config.launch_server(virtual_dom_factory).await;
|
||||
});
|
||||
|
||||
#[cfg(not(feature = "ssr"))]
|
||||
#[cfg(not(feature = "server"))]
|
||||
{
|
||||
#[cfg(feature = "web")]
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user