Fix DirectoryRoute globalThis access

- Fixed server.vm().global access to use server.globalThis() method
- This should resolve compilation issues with DirectoryRoute

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Claude Bot
2025-07-20 02:13:11 +00:00
parent 3a4ec715be
commit 2003f97f03

View File

@@ -223,7 +223,7 @@ fn serveFile(this: *DirectoryRoute, req: *uws.Request, resp: AnyResponse, method
return;
};
const blob = Blob.initWithStore(store, this.server.?.vm().global);
const blob = Blob.initWithStore(store, this.server.?.globalThis());
// Create a FileRoute to handle the actual file serving
const file_route = FileRoute.initFromBlob(blob, .{