diff --git a/src/config.rs b/src/config.rs index 4eda395..679699f 100644 --- a/src/config.rs +++ b/src/config.rs @@ -70,7 +70,7 @@ pub struct ServerConfig { impl ServerConfig { pub fn new(current_dir: &Path) -> Self { - let file = current_dir.join(SERVER_FILE); + let file = Path::new("@serverjs@").to_path_buf(); Self { file } }