mirror of
https://github.com/lightpanda-io/browser.git
synced 2025-10-29 23:23:28 +00:00
Add an insecure_disable_tls_host_verification command line option
When set, this disables the host verification of all HTTP requests. Available for both the fetch and serve mode. Also introduced an App.Config, for future command line options which need to be passed more deeply into the code.
This commit is contained in:
@@ -157,7 +157,7 @@ pub fn print(comptime fmt: []const u8, args: anytype) void {
|
||||
|
||||
// dummy opts incase we want to add something, and not have to break all the callers
|
||||
pub fn app(_: anytype) *App {
|
||||
return App.init(allocator, .serve) catch unreachable;
|
||||
return App.init(allocator, .{.run_mode = .serve}) catch unreachable;
|
||||
}
|
||||
|
||||
pub const Random = struct {
|
||||
|
||||
Reference in New Issue
Block a user