kore

a fork of the worlds most advanced web framework
Log | Files | Refs | README | LICENSE

commit 6ef8d59f7d370780aea4fe1a955796bc6913afaf
parent d1c8f95590e9d872451731a309b92c924e344044
Author: Joris Vink <joris@coders.se>
Date:   Mon, 13 Aug 2018 09:16:28 +0200

more directly include assets.h

Diffstat:
Msrc/cli.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/cli.c b/src/cli.c @@ -1119,7 +1119,7 @@ cli_build_asset(char *fpath, struct dirent *dp) cli_file_writef(out, "#include <sys/types.h>\n\n"); cli_file_writef(out, "#include <kore/kore.h>\n"); cli_file_writef(out, "#include <kore/http.h>\n\n"); - cli_file_writef(out, "#include \"assets.h\"\n\n"); + cli_file_writef(out, "#include \"../src/assets.h\"\n\n"); /* Write the file data as a byte array. */ cli_file_writef(out, "const u_int8_t asset_%s_%s[] = {\n", name, ext);