Skip to content

Commit

Permalink
bugfix: set service_options.service = true
Browse files Browse the repository at this point in the history
  • Loading branch information
cdxker committed Dec 13, 2024
1 parent e6ce8ef commit 5103448
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pagefind/src/service/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,7 @@ pub async fn run_service() {
let mut service_options: PagefindInboundConfig =
serde_json::from_str("{}").expect("All fields have serde defaults");

service_options.service = true;
if let Some(config) = config {
service_options = config.apply(service_options);
}
Expand Down

0 comments on commit 5103448

Please sign in to comment.