Skip to content

Commit ff4ed8c

Browse files
authored
Merge branch 'webui-dev:main' into main
2 parents 7bad48e + c571a0b commit ff4ed8c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

examples/serve_a_folder/main.zig

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,8 @@ fn my_files_handler(filename: []const u8) ?[]const u8 {
124124

125125
// Generate header + body
126126

127+
// By allocating resources using webui.malloc()
128+
// WebUI will automaticaly free the resources.
127129
return content;
128130
}
129131

0 commit comments

Comments
 (0)