Skip to content

Commit

Permalink
fix export bug and bump
Browse files Browse the repository at this point in the history
  • Loading branch information
nitsky committed Jun 25, 2021
1 parent 4997122 commit a02b4a0
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions 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
Expand Up @@ -13,7 +13,7 @@ license = "MIT"
name = "sunfish"
publish = true
repository = "https://github.com/tangramxyz/sunfish"
version = "0.2.2"
version = "0.2.3"

[lib]
path = "lib.rs"
Expand Down
2 changes: 1 addition & 1 deletion lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@ impl ReleaseSunfish {
.unwrap_or_else(|| vec![route.path_with_placeholders.clone()]);
for path in paths {
let output_html_path = match path.as_str() {
"/" => "index.html".to_owned(),
"/" => "/index.html".to_owned(),
path if path.ends_with('/') => format!("{}index.html", path),
path => format!("{}.html", path),
};
Expand Down
2 changes: 1 addition & 1 deletion macro/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ license = "MIT"
name = "sunfish_macro"
publish = true
repository = "https://github.com/tangramxyz/sunfish"
version = "0.2.2"
version = "0.2.3"

[lib]
path = "lib.rs"
Expand Down

0 comments on commit a02b4a0

Please # to comment.