Skip to content

Commit

Permalink
chore: add explicit lifetime
Browse files Browse the repository at this point in the history
Signed-off-by: dierbei <[email protected]>
  • Loading branch information
dierbei authored Sep 5, 2023
1 parent cb381a3 commit 4b6ad29
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/router/src/files.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ pub struct Files<'t> {
}

impl<'t> Files<'t> {
const PUBLIC_ASSETS_FOLDER: &str = "public";
const DEFAULT_EXTENSIONS: [&str; 2] = ["js", "wasm"];
const PUBLIC_ASSETS_FOLDER: &'static str = "public";
const DEFAULT_EXTENSIONS: [&'static str; 2] = ["js", "wasm"];

/// Initializes a new files instance. It will detect
/// relevant resources for WWS like the public folder.
Expand Down

0 comments on commit 4b6ad29

Please sign in to comment.