diff --git a/examples/server/server.cpp b/examples/server/server.cpp index 39f8111f8..43f061aec 100644 --- a/examples/server/server.cpp +++ b/examples/server/server.cpp @@ -2475,6 +2475,7 @@ int main(int argc, char ** argv) { #endif std::atomic state{SERVER_STATE_LOADING_MODEL}; + svr->set_default_headers({{"Server", "llama.cpp"}}); // CORS preflight