Formatting and CI
CI / check (push) Failing after 10s

This commit is contained in:
Connor Johnstone
2026-03-18 15:37:30 -04:00
parent 1b7c10ea9e
commit 82c82ae46a
16 changed files with 154 additions and 27 deletions
+3 -4
View File
@@ -1,5 +1,5 @@
use actix_cors::Cors;
use actix_web::{web, App, HttpServer};
use actix_web::{App, HttpServer, web};
use clap::Parser;
use tracing_actix_web::TracingLogger;
use tracing_subscriber::EnvFilter;
@@ -79,9 +79,8 @@ async fn main() -> anyhow::Result<()> {
static_dir
} else {
// Check next to shanty-web crate root (for development)
let dev_path = std::path::PathBuf::from(
concat!(env!("CARGO_MANIFEST_DIR"), "/shanty-web/static"),
);
let dev_path =
std::path::PathBuf::from(concat!(env!("CARGO_MANIFEST_DIR"), "/shanty-web/static"));
if dev_path.is_dir() {
dev_path
} else {