From 1b82e9ae5166327adbd26123e0bf2ce7d47d31b9 Mon Sep 17 00:00:00 2001 From: Xuan Son Nguyen Date: Mon, 22 Jun 2026 16:20:56 +0200 Subject: [PATCH] fix windows --- tools/server/server-common.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/server/server-common.cpp b/tools/server/server-common.cpp index efc1944072..e412b94c5c 100644 --- a/tools/server/server-common.cpp +++ b/tools/server/server-common.cpp @@ -829,7 +829,7 @@ static void handle_media( bool accept_base64_uri) { if (!media_path.empty()) { // should already be enforced by arg.cpp, but checking just in case - GGML_ASSERT(string_ends_with(media_path, "/")); + GGML_ASSERT(media_path.back() == DIRECTORY_SEPARATOR); } if (string_starts_with(url, "http")) {