aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorKevin J Hoerr <khoerr@ksmpartners.com>2022-01-27 13:57:10 -0500
committerKevin J Hoerr <khoerr@ksmpartners.com>2022-01-27 13:57:10 -0500
commit8d8d8cdd639591c0c4c49b355db1152e310c22d6 (patch)
treebb7c08407153bc52422cd3808f02d3aea9750a47 /src
parent3aaa4c6da94ab33577c5856b202d863847f3dea5 (diff)
downloadpantry-8d8d8cdd639591c0c4c49b355db1152e310c22d6.tar.gz
pantry-8d8d8cdd639591c0c4c49b355db1152e310c22d6.tar.bz2
pantry-8d8d8cdd639591c0c4c49b355db1152e310c22d6.zip
Revert to Java 11 and enable Lombok ext
Diffstat (limited to 'src')
-rw-r--r--src/main/java/dev/submelon/pantry/PantryApplication.java6
-rw-r--r--src/main/resources/application.properties1
2 files changed, 1 insertions, 6 deletions
diff --git a/src/main/java/dev/submelon/pantry/PantryApplication.java b/src/main/java/dev/submelon/pantry/PantryApplication.java
index 8bfcee5..0c2a5b5 100644
--- a/src/main/java/dev/submelon/pantry/PantryApplication.java
+++ b/src/main/java/dev/submelon/pantry/PantryApplication.java
@@ -2,18 +2,12 @@ package dev.submelon.pantry;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
-import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
@SpringBootApplication
@RestController
public class PantryApplication {
- @RequestMapping("/")
- public String home() {
- return "Check this out: http://localhost:8080/items";
- }
-
public static void main(String[] args) {
SpringApplication.run(PantryApplication.class, args);
}
diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties
index da7f829..dff3088 100644
--- a/src/main/resources/application.properties
+++ b/src/main/resources/application.properties
@@ -4,3 +4,4 @@ spring.datasource.driver-class-name=org.mariadb.jdbc.Driver
spring.datasource.username=pantry-user
spring.datasource.password=i2j9ds0g
spring.jpa.show-sql=true
+spring.jpa.open-in-view=true