diff --git a/CHANGELOG.md b/CHANGELOG.md index 8ab8fad..2d77011 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,13 @@ All notable changes to this project will be documented in this file. +## [v0.4.4](https://codeberg.org/ThetaDev/artifactview/compare/v0.4.3..v0.4.4) - 2024-06-22 + +### 🐛 Bug Fixes + +- Use forge aliases for PR comment links - ([3690b02](https://codeberg.org/ThetaDev/artifactview/commit/3690b0244cf47d0d73511f5f69f5d12abe0f1837)) + + ## [v0.4.3](https://codeberg.org/ThetaDev/artifactview/compare/v0.4.2..v0.4.3) - 2024-06-22 ### 🐛 Bug Fixes diff --git a/Cargo.lock b/Cargo.lock index c9226a6..6e0c455 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -141,7 +141,7 @@ dependencies = [ [[package]] name = "artifactview" -version = "0.4.3" +version = "0.4.4" dependencies = [ "async_zip", "axum", diff --git a/Cargo.toml b/Cargo.toml index 4dc070c..dc1a8fb 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "artifactview" -version = "0.4.3" +version = "0.4.4" edition = "2021" authors = ["ThetaDev "] license = "MIT" diff --git a/src/app.rs b/src/app.rs index ea76c4d..cc05ad6 100644 --- a/src/app.rs +++ b/src/app.rs @@ -672,7 +672,7 @@ impl App { .extract::, _>() .await .map_err(|e| Error::BadRequest(e.body_text().into()))?; - let query = RunQuery::from_forge_url(&req.url)?; + let query = RunQuery::from_forge_url_alias(&req.url, &state.i.cfg.load().site_aliases)?; if let Some(limiter) = &state.i.lim_pr_comment { limiter.check_key(&ip).map_err(Error::from)?;