mirror of
https://github.com/HeyPuter/puter.git
synced 2025-02-02 22:51:17 +08:00
fix: subdomains to deleted files tried to deref fs node
This commit is contained in:
parent
37ca89228c
commit
38ccc82c8e
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user