Skip to content

Commit

Permalink
rename web_server_utils -> web_server_routes
Browse files Browse the repository at this point in the history
  • Loading branch information
NikolaiSch committed Feb 1, 2024
1 parent e9b78d5 commit 8c36bd8
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/bin/sportshub.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ use anyhow::Error;
use clap::{Parser, Subcommand};
use diesel::sqlite::Sqlite;
use diesel_migrations::{embed_migrations, EmbeddedMigrations, MigrationHarness};
use scraper::{db, scrape, web_server_utils};
use scraper::{db, scrape, web_server_routes};


#[derive(Parser)]
Expand Down Expand Up @@ -123,7 +123,7 @@ async fn main() {
if full_refresh {
scrape::start_scraping(10, true).unwrap();
}
web_server_utils::run(port, silent).await.unwrap();
web_server_routes::run(port, silent).await.unwrap();
}
None => {
println!("use sportshub -h for help");
Expand Down
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ pub mod db;
pub mod query_selectors;
pub mod scrape;
pub mod scrape_utils;
pub mod web_server_utils;
pub mod web_server_routes;

#[macro_use]
extern crate diesel;
Expand Down
File renamed without changes.

0 comments on commit 8c36bd8

Please sign in to comment.