Location changes regarding to changes in URL

This commit is contained in:
Halil Durak
2025-10-21 16:44:29 +03:00
parent c568a75599
commit 69884b9d8d
5 changed files with 20 additions and 18 deletions

View File

@@ -75,10 +75,6 @@ pub const URL = struct {
return writer.writeAll(self.raw);
}
pub fn toWebApi(self: *const URL, allocator: Allocator) !WebApiURL {
return WebApiURL.init(allocator, self.uri);
}
/// Properly stitches two URL fragments together.
///
/// For URLs with a path, it will replace the last entry with the src.