minor : fix trailing whitespace
This commit is contained in:
parent
aa12e7333f
commit
f993d1448b
1 changed files with 1 additions and 1 deletions
|
@ -3289,7 +3289,7 @@ int main(int argc, char **argv)
|
||||||
|
|
||||||
svr.Post("/chat/completions", chat_completions);
|
svr.Post("/chat/completions", chat_completions);
|
||||||
svr.Post("/v1/chat/completions", chat_completions);
|
svr.Post("/v1/chat/completions", chat_completions);
|
||||||
|
|
||||||
svr.Post("/infill", [&llama, &validate_api_key](const httplib::Request &req, httplib::Response &res)
|
svr.Post("/infill", [&llama, &validate_api_key](const httplib::Request &req, httplib::Response &res)
|
||||||
{
|
{
|
||||||
res.set_header("Access-Control-Allow-Origin", req.get_header_value("Origin"));
|
res.set_header("Access-Control-Allow-Origin", req.get_header_value("Origin"));
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue