mirror of
https://github.com/HeyPuter/puter.git
synced 2026-08-25 07:27:04 +00:00
fix: subdomains to deleted files tried to deref fs node
This commit is contained in:
@@ -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