mirror of
https://github.com/cesanta/mongoose.git
synced 2024-11-27 20:59:00 +08:00
Using .lp extension for Lua server pages
This commit is contained in:
parent
3770020b74
commit
e251375c0c
@ -4100,7 +4100,7 @@ static void handle_request(struct mg_connection *conn) {
|
||||
"Directory listing denied");
|
||||
}
|
||||
#ifdef USE_LUA
|
||||
} else if (match_prefix("**.lsp$", 7, path) > 0) {
|
||||
} else if (match_prefix("**.lp$", 6, path) > 0) {
|
||||
handle_lsp_request(conn, path, &file);
|
||||
#endif
|
||||
#if !defined(NO_CGI)
|
||||
|
Loading…
Reference in New Issue
Block a user