chore(server): Rename server.rs as server/mod.rs

Server will be the more complex component, so prepare to add more
modules under server.
This commit is contained in:
Paul Campbell 2024-04-07 12:18:33 +01:00
parent 7890423077
commit 1d42c63e53

View file

@ -13,7 +13,7 @@ pub(crate) fn init(fs: FileSystem) {
file_name
);
} else {
match fs.write_file(file_name, include_str!("../server-default.toml")) {
match fs.write_file(file_name, include_str!("../../server-default.toml")) {
Ok(_) => println!("Created a default configuration file at {}", file_name),
Err(e) => {
eprintln!("Failed to write to the configuration file: {}", e)