mirror of
https://github.com/rojo-rbx/rojo.git
synced 2026-08-12 04:30:37 +00:00
Add origin/host validation and warning for exposed serves (#1270)
This commit is contained in:
@@ -207,6 +207,10 @@ impl ServeSession {
|
||||
self.root_project.serve_address
|
||||
}
|
||||
|
||||
pub fn serve_allowed_hosts(&self) -> &[String] {
|
||||
&self.root_project.serve_allowed_hosts
|
||||
}
|
||||
|
||||
pub fn root_dir(&self) -> &Path {
|
||||
self.root_project.folder_location()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user