Skip to content

Commit

Permalink
remove unnecessary root.embedFile()
Browse files Browse the repository at this point in the history
  • Loading branch information
cztomsik committed Apr 17, 2024
1 parent b460027 commit 49417c1
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/main.zig
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,6 @@ fn log(comptime level: std.log.Level, comptime scope: @Type(.EnumLiteral), compt
std.log.defaultLog(level, scope, fmt, args);
}

pub fn embedFile(comptime path: []const u8) []const u8 {
return @embedFile("../" ++ path);
}

pub fn start() !void {
if (app != null) {
return error.ServerAlreadyStarted;
Expand Down

0 comments on commit 49417c1

Please sign in to comment.