-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Server - Personalizada la pagina de error y agregado nueva informacio…
…n de debug
- Loading branch information
Showing
6 changed files
with
51 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,15 @@ | ||
# Path donde responderá las peticiones de la API RESTful | ||
spring.main.banner-mode = off | ||
spring.jersey.application-path = /api | ||
spring.jersey.type = filter | ||
|
||
mauzo.maxParallel.typeConnections = 3 | ||
# Pagina de error personalizada | ||
server.error.whitelabel.enabled=false | ||
spring.autoconfigure.exclude=org.springframework.boot.autoconfigure.web.ErrorMvcAutoConfiguration | ||
|
||
# Configuraciones del log | ||
logging.level.root = INFO | ||
logging.pattern.console = %clr(%d{yy-MM-dd E HH:mm:ss.SSS}){blue} %clr(%-5p) %clr(${PID}){faint} %clr(---){faint} %clr([%8.15t]){cyan} %clr(%-40.40logger{0}){blue} %clr(:){red} %clr(%m){faint}%n | ||
logging.pattern.console = %clr(%d{yy-MM-dd E HH:mm:ss.SSS}){blue} %clr(%-5p) %clr(${PID}){faint} %clr(---){faint} %clr([%8.15t]){cyan} %clr(%-40.40logger{0}){blue} %clr(:){red} %clr(%m){faint}%n | ||
|
||
# Configuraciones propias del servidor | ||
mauzo.maxParallel.typeConnections = 3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<meta name="viewport" content="width=device-width, initial-scale=1"> | ||
<meta charset="utf-8"> | ||
<title>Application Error</title> | ||
<style media="screen"> | ||
html,body,iframe { | ||
margin: 0; | ||
padding: 0; | ||
} | ||
html,body { | ||
height: 100%; | ||
overflow: hidden; | ||
} | ||
iframe { | ||
width: 100%; | ||
height: 100%; | ||
border: 0; | ||
} | ||
</style> | ||
</head> | ||
<body> | ||
<iframe src="https://www.herokucdn.com/error-pages/application-error.html"></iframe> | ||
</body> | ||
</html> |