Skip to content

Commit

Permalink
Hotfix release
Browse files Browse the repository at this point in the history
  • Loading branch information
BjoernKW committed Sep 23, 2024
1 parent 185b55f commit 14c1172
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
</parent>
<groupId>com.bjoernkw</groupId>
<artifactId>schematic</artifactId>
<version>0.3.0</version>
<version>0.3.1</version>
<name>Schematic</name>
<description>Database management UI for Spring Boot</description>
<url>https://github.com/BjoernKW/Schematic</url>
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/bjoernkw/schematic/IndexController.java
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
@RequestMapping("/")
public class IndexController {

@Value("${schematic.path}")
@Value("${schematic.path:schematic}")
private String path;

@GetMapping
Expand Down
4 changes: 2 additions & 2 deletions src/main/java/com/bjoernkw/schematic/SchematicProperties.java
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ public class SchematicProperties {

private String version = getClass().getPackage().getImplementationVersion();

private String path;
private String path = "schematic";

private String rootPath;
private String rootPath = "/";

public String getName() {
return name;
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/bjoernkw/schematic/TablesController.java
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
import org.springframework.web.bind.annotation.RequestParam;

@Controller
@RequestMapping("/${schematic.path}/tables")
@RequestMapping("/${schematic.path:schematic}/tables")
public class TablesController {

private static final Logger LOGGER = LoggerFactory.getLogger(TablesController.class);
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/templates/fragments/header.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<nav class="navbar navbar-expand-lg navbar-light branded-background bg-opacity-10 fixed-top" th:fragment="header">
<div class="container">
<img src="/images/logo.png" alt="logo" width="120">
<img th:src="@{{rootPath}images/logo.png(rootPath=${@schematicProperties.rootPath})}" alt="logo" width="120">
<h1 class="app-title">
<a href="https://github.com/BjoernKW/Schematic"
class="branded-link"
Expand Down

0 comments on commit 14c1172

Please sign in to comment.