More work on making intellisense work
This commit is contained in:
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user