Implement deleting a user

This commit is contained in:
2026-06-05 10:02:11 +02:00
parent bc73c1055e
commit 1c10371540
2 changed files with 95 additions and 9 deletions

View File

@@ -5,7 +5,7 @@ static Noh_String build_path_(bool url, Noh_String_View *first, ...) {
va_start(args, first);
bool start = true;
Noh_String result = {0};
if (url) noh_string_append_cstr(&result, "/");
if (url || noh_sv_starts_with(*first, noh_sv_from_cstr("/"))) noh_string_append_cstr(&result, "/");
while (elem_ != NULL) {
Noh_String_View elem = *elem_;