mirror of
https://github.com/rojo-rbx/rojo.git
synced 2026-10-24 06:34:09 +00:00
Move all web pieces into WebConfig
This commit is contained in:
parent
d0f821add4
commit
81d232fac5
3 changed files with 8 additions and 5 deletions
|
|
@ -24,9 +24,11 @@ pub fn serve(project_path: &PathBuf, port: Option<u64>) {
|
|||
let web_config = web::WebConfig {
|
||||
port: port.unwrap_or(project.serve_port),
|
||||
server_id,
|
||||
project: project.clone(),
|
||||
start_time: Instant::now(),
|
||||
};
|
||||
|
||||
println!("Server listening on port {}", web_config.port);
|
||||
|
||||
web::start(web_config, project.clone(), Instant::now());
|
||||
web::start(web_config);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue