mirror of
https://github.com/rojo-rbx/rojo.git
synced 2026-04-20 20:55:50 +00:00
server: Add servePlaceId for verifying correct place IDs
This commit is contained in:
@@ -78,6 +78,7 @@ struct SourceProject {
|
||||
name: String,
|
||||
tree: SourceProjectNode,
|
||||
serve_port: Option<u16>,
|
||||
serve_place_id: Option<u64>,
|
||||
}
|
||||
|
||||
impl SourceProject {
|
||||
@@ -88,6 +89,7 @@ impl SourceProject {
|
||||
name: self.name,
|
||||
tree,
|
||||
serve_port: self.serve_port,
|
||||
serve_place_id: self.serve_place_id,
|
||||
file_location: PathBuf::from(project_file_location),
|
||||
}
|
||||
}
|
||||
@@ -172,6 +174,7 @@ pub struct Project {
|
||||
pub name: String,
|
||||
pub tree: ProjectNode,
|
||||
pub serve_port: Option<u16>,
|
||||
pub serve_place_id: Option<u64>,
|
||||
pub file_location: PathBuf,
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user