Compare commits

..

No commits in common. "b8b0a4bf30f4420119e0a9c9221347dbfe431416" and "acaef2e704029855813244a11eb4bcd4aca32052" have entirely different histories.

3 changed files with 22 additions and 22 deletions

View File

@ -0,0 +1,16 @@
package com.hithomelabs.CFTunnels.Controllers;
import org.springframework.boot.web.servlet.error.ErrorController;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
@Controller
public class HomeController implements ErrorController {
private static final String ERROR_PATH = "/error";
}

View File

@ -1,12 +1 @@
api.baseUrl=https://cftunnels.hithomelabs.com api.baseUrl=https://cftunnels.hithomelabs.com
# Production Database Configuration
spring.datasource.url=${DB_URL}
spring.datasource.username=${POSTGRES_USERNAME}
spring.datasource.password=${POSTGRES_PASSWORD}
spring.datasource.driver-class-name=org.postgresql.Driver
# JPA Configuration
spring.jpa.hibernate.ddl-auto=update
spring.jpa.show-sql=false
spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.PostgreSQLDialect

View File

@ -1,12 +1,7 @@
api.baseUrl=https://testcf.hithomelabs.com api.baseUrl=https://testcf.hithomelabs.com
# Test Database Configuration - Same as Production spring.datasource.url: jdbc:h2:mem:testdb
spring.datasource.url=${DB_URL} spring.datasource.driver-class-name: org.h2.Driver
spring.datasource.username=${POSTGRES_USERNAME} spring.datasource.username: sa
spring.datasource.password=${POSTGRES_PASSWORD} spring.datasource.password:
spring.datasource.driver-class-name=org.postgresql.Driver spring.datasource.jpa.hibernate.ddl-auto: none
# JPA Configuration
spring.jpa.hibernate.ddl-auto=update
spring.jpa.show-sql=true
spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.PostgreSQLDialect