Skip to content

Commit 8a0736b

Browse files
authored
release: 2.2.0 (#392)
2 parents 5d537de + a06efbb commit 8a0736b

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

src/main/kotlin/org/gitanimals/render/controller/InternalAnimationController.kt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,9 @@ class InternalAnimationController(
2626
@RequestHeader("Image-Secret") renderSecret: String,
2727
response: HttpServletResponse,
2828
): String {
29-
require(renderSecret == this.internalImageSecret)
29+
require(renderSecret == this.internalImageSecret) {
30+
"Authorization Fail"
31+
}
3032
response.cacheControl(3600)
3133

3234
return animationFacade.getLineAnimation(

0 commit comments

Comments
 (0)