Skip to content

Commit

Permalink
chore: updated Minum to v5.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
nergal-perm committed Jul 3, 2024
1 parent 5d1ba96 commit 7f3fad6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@
<dependency>
<groupId>com.renomad</groupId>
<artifactId>minum</artifactId>
<version>3.1.1</version>
<version>5.0.0</version>
</dependency>
<dependency>
<groupId>com.jcabi</groupId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ public void register(final WebFramework web) {

private static Response staticResource(final Request request) {
final Response result;
if (request.requestLine().getPathDetails().isolatedPath().endsWith("main.css")) {
if (request.requestLine().getPathDetails().getIsolatedPath().endsWith("main.css")) {
final String body = WebResource.readFileFromResources("static/main.css");
result = new Response(OK, body, CSS);
} else {
Expand Down

0 comments on commit 7f3fad6

Please sign in to comment.