This commit is contained in:
Ben Wishovich 2022-11-27 17:04:34 -08:00
parent b0dd759bcf
commit 2d88a113c4
1 changed files with 1 additions and 3 deletions

View File

@ -4,8 +4,6 @@ use leptos::*;
// boilerplate to run in different modes // boilerplate to run in different modes
cfg_if! { cfg_if! {
if #[cfg(feature = "ssr")] { if #[cfg(feature = "ssr")] {
// use actix_files::{Files, NamedFile};
// use actix_web::*;
use axum::{ use axum::{
routing::{get, post}, routing::{get, post},
Router, Router,
@ -50,7 +48,7 @@ if #[cfg(feature = "ssr")] {
// client-only stuff for Trunk // client-only stuff for Trunk
else { else {
use leptos_hackernews_axum::*; use todo_app_sqlite_axum::*;
pub fn main() { pub fn main() {
console_error_panic_hook::set_once(); console_error_panic_hook::set_once();