mirror of
https://github.com/lxsang/antos-frontend.git
synced 2024-12-26 17:38:20 +01:00
enhance vfs path handling
This commit is contained in:
parent
2316994b94
commit
a5d93fcd72
@ -356,7 +356,7 @@ namespace OS {
|
||||
return;
|
||||
}
|
||||
this.genealogy = re.split("/").filter(s=> s!="");
|
||||
this.path = this.genealogy.join("/");
|
||||
this.path = `${this.protocol}://${this.genealogy.join("/")}`;
|
||||
if (!this.isRoot()) {
|
||||
this.basename = this.genealogy[
|
||||
this.genealogy.length - 1
|
||||
|
Binary file not shown.
Loading…
Reference in New Issue
Block a user