Compare commits

..

No commits in common. "0516abb8fddccaf02e261107cd68c39ce560b568" and "bdc847f5d0bdde596b0b7ee31913d7fd4a474501" have entirely different histories.

4 changed files with 3 additions and 10 deletions

View file

@ -3,13 +3,6 @@
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

2
Cargo.lock generated
View file

@ -141,7 +141,7 @@ dependencies = [
[[package]]
name = "artifactview"
version = "0.4.4"
version = "0.4.3"
dependencies = [
"async_zip",
"axum",

View file

@ -1,6 +1,6 @@
[package]
name = "artifactview"
version = "0.4.4"
version = "0.4.3"
edition = "2021"
authors = ["ThetaDev <thetadev@magenta.de>"]
license = "MIT"

View file

@ -672,7 +672,7 @@ impl App {
.extract::<Json<PrCommentReq>, _>()
.await
.map_err(|e| Error::BadRequest(e.body_text().into()))?;
let query = RunQuery::from_forge_url_alias(&req.url, &state.i.cfg.load().site_aliases)?;
let query = RunQuery::from_forge_url(&req.url)?;
if let Some(limiter) = &state.i.lim_pr_comment {
limiter.check_key(&ip).map_err(Error::from)?;