mirror of
https://github.com/HeyPuter/puter.git
synced 2026-11-15 10:20:40 +00:00
fix: subdomains to deleted files tried to deref fs node
This commit is contained in:
1 parent
37ca89228c
commit
38ccc82c8e
1 file changed
+4
@@ -76,6 +76,10 @@ class Mapping extends AdvancedBase {
|
||||
}
|
||||
|
||||
if ( value instanceof FSNodeContext ) {
|
||||
if ( ! await value.exists() ) {
|
||||
value = undefined;
|
||||
continue;
|
||||
}
|
||||
value = await value.getSafeEntry();
|
||||
sanitized = true;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user