Skip to content

Commit

Permalink
Fix static template build
Browse files Browse the repository at this point in the history
  • Loading branch information
drakeerv committed Nov 26, 2024
1 parent 821eeb6 commit 163b1f0
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

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

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "pasted"
version = "1.2.25"
version = "1.2.26"
edition = "2021"
authors = ["drakeerv <drakeerv@outlook.com>"]
description = "A pastebin frontend written in Rust"
Expand Down
1 change: 0 additions & 1 deletion src/templates.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ pub static TEMPLATES: Lazy<Tera> = Lazy::new(|| {

let templates = dir
.files()
.iter()
.map(|file| {
let name = file.path().to_str().unwrap();
let content = std::str::from_utf8(file.contents()).unwrap();
Expand Down

0 comments on commit 163b1f0

Please sign in to comment.