copy config

This commit is contained in:
Nicholas Orlowsky 2025-11-08 13:14:10 -05:00
parent a335f14b14
commit 58e2097016
No known key found for this signature in database
GPG key ID: A9F3BA4C0AA7A70B
3 changed files with 12 additions and 1 deletions

10
api/config.yaml Normal file
View file

@ -0,0 +1,10 @@
gtfs_zips:
- uri: "https://www3.septa.org/developer/gtfs_public.zip"
subzip: "google_rail.zip"
- uri: "https://www3.septa.org/developer/gtfs_public.zip"
subzip: "google_bus.zip"
# - uri: "https://www.njtransit.com/rail_data.zip"
# - uri: "https://www.njtransit.com/bus_data.zip"
annotations:
synthetic_routes:
- id: 'NYC'

View file

@ -78,7 +78,7 @@ async fn main() -> ::anyhow::Result<()> {
let version: &str = option_env!("CARGO_PKG_VERSION").expect("Expected package version");
info!("Starting the SEPTASTIC Server v{} (commit: {})", version, "NONE");
let mut file = File::open("../data_loader/config.yaml")?;
let mut file = File::open("./config.yaml")?;
let mut file_contents = String::new();
file.read_to_string(&mut file_contents);