mirror of
https://github.com/rojo-rbx/rojo.git
synced 2026-10-21 03:36:06 +00:00
Add origin/host validation and warning for exposed serves (#1270)
This commit is contained in:
parent
444dc11b26
commit
ac6941f054
10 changed files with 852 additions and 11 deletions
|
|
@ -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()
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue