More work on making intellisense work

This commit is contained in:
2025-06-16 21:32:40 -04:00
parent 80ff7d7d92
commit be45f55222
9 changed files with 35 additions and 25 deletions

View File

@@ -687,7 +687,7 @@ HttpServerResponse World::http_serve(const HttpParser &request) {
}
// Get the name of the desired function.
std::string_view orig_fn = request.first_path_component("index");
eng::string orig_fn = request.first_path_component("index");
eng::string lua_fn = HttpParser::to_lua_identifier(orig_fn);
if (lua_fn.empty()) {
response.fail(404, util::ss("cannot convert to lua function name: ", orig_fn));