Skip to content

Commit 61e226f

Browse files
feat: server/main.cpp: add on_hit parameter from, new API.
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
1 parent 31ddfc8 commit 61e226f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

example/server/main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ int server_main( int argc, char* argv[] )
8484

8585
http_proto::helmet_options options;
8686

87-
options.set(http_proto::x_download_options(http_proto::helmet_download_type::noopen));
87+
options.set(http_proto::x_download_options(http_proto::helmet_download_type::noopen), http_proto::route::next);
8888
options.set(http_proto::x_frame_origin(http_proto::helmet_origin_type::deny));
8989

9090
srv.wwwroot.use(

0 commit comments

Comments
 (0)