mirror of
https://git.imnavajas.es/jjimenez/printhub.git
synced 2026-01-12 16:38:46 +00:00
otro update
This commit is contained in:
2
.vscode/tasks.json
vendored
2
.vscode/tasks.json
vendored
@ -11,7 +11,7 @@
|
|||||||
"springboot-dev",
|
"springboot-dev",
|
||||||
"sh",
|
"sh",
|
||||||
"-c",
|
"-c",
|
||||||
"./mvnw spring-boot:run -o -Dspring-boot.run.fork=false -Dmaven.resources.skip=true -Dmaven.test.skip=true -Dspring-boot.run.jvmArguments=-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=*:5005"
|
"./mvnw spring-boot:run -o -Dmaven.resources.skip=true -Dmaven.test.skip=true -Dspring-boot.run.jvmArguments=-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=*:5005"
|
||||||
],
|
],
|
||||||
"isBackground": true,
|
"isBackground": true,
|
||||||
"problemMatcher": {
|
"problemMatcher": {
|
||||||
|
|||||||
2
pom.xml
2
pom.xml
@ -40,7 +40,7 @@
|
|||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.springframework.boot</groupId>
|
<groupId>org.springframework.boot</groupId>
|
||||||
<artifactId>spring-boot-devtools</artifactId>
|
<artifactId>spring-boot-devtools</artifactId>
|
||||||
<optional>true</optional>
|
<scope>runtime</scope> <!-- no se empaqueta en prod -->
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
<dependency>
|
<dependency>
|
||||||
|
|||||||
@ -18,7 +18,7 @@ public class PrintersController {
|
|||||||
|
|
||||||
@GetMapping
|
@GetMapping
|
||||||
public String index(Model model, Locale locale) {
|
public String index(Model model, Locale locale) {
|
||||||
model.addAttribute("title", messageSource.getMessage("t-printers", null, locale));
|
model.addAttribute("title", messageSource.getMessage("t-home", null, locale));
|
||||||
return "printhub/configuration/printers";
|
return "printhub/configuration/printers";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user