Skip to content

Commit

Permalink
try without path interpolation
Browse files Browse the repository at this point in the history
  • Loading branch information
t-aleksander committed Jun 21, 2024
1 parent 09f22c9 commit 01a8d7c
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 63 deletions.
58 changes: 0 additions & 58 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 1 addition & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -69,10 +69,7 @@ ssh-key = "0.6"
struct-patch = "0.4"
tera = "1.19"
thiserror = "1.0"
rust-embed = { version = "8.4.0", features = [
"include-exclude",
"interpolate-folder-path",
] }
rust-embed = { version = "8.4.0", features = ["include-exclude"] }
mime_guess = "2.0.4"
# match axum-extra -> cookies
time = { version = "0.3", default-features = false }
Expand Down
2 changes: 1 addition & 1 deletion src/assets.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ pub async fn svg(uri: Uri) -> impl IntoResponse {
}

#[derive(Embed)]
#[folder = "$CARGO_MANIFEST_DIR/web/"]
#[folder = "web/"]
#[include = "dist/*"]
#[include = "src/shared/images/*"]
struct WebAsset;
Expand Down

0 comments on commit 01a8d7c

Please sign in to comment.