From: Kai Moritz Date: Fri, 8 Jan 2021 15:28:07 +0000 (+0100) Subject: Added overwrite- and fallback-content X-Git-Tag: wip~2 X-Git-Url: https://juplo.de/gitweb/?p=demos%2Fhttpresources;a=commitdiff_plain;h=55e8ff6a171391a501314f72d103e137edc69074;hp=58216dfde631856612f00b61cc4a54623759f979 Added overwrite- and fallback-content --- diff --git a/src/main/resources/fallback/error/404.html b/src/main/resources/fallback/error/404.html new file mode 100644 index 0000000..a249ef6 --- /dev/null +++ b/src/main/resources/fallback/error/404.html @@ -0,0 +1,14 @@ + + + + 404 - NOT FOUND + + +

404 - NOT FOUND

+

+ Start any webserver at http://localhost:8888 or + overwrite origin in the + application.properties... +

+ + diff --git a/src/main/resources/fallback/error/4xx.html b/src/main/resources/fallback/error/4xx.html new file mode 100644 index 0000000..574fdc9 --- /dev/null +++ b/src/main/resources/fallback/error/4xx.html @@ -0,0 +1,14 @@ + + + + 400er ERROR on Client-Side + + +

400er ERROR on Client-Side

+

+ Start any webserver at http://localhost:8888 or + overwrite origin in the + application.properties... +

+ + diff --git a/src/main/resources/fallback/error/5xx.html b/src/main/resources/fallback/error/5xx.html new file mode 100644 index 0000000..72e9d93 --- /dev/null +++ b/src/main/resources/fallback/error/5xx.html @@ -0,0 +1,14 @@ + + + + 500er ERROR on Server-Side + + +

500er ERROR on Server-Side

+

+ Start any webserver at http://localhost:8888 or + overwrite origin in the + application.properties... +

+ + diff --git a/src/main/resources/fallback/index.html b/src/main/resources/fallback/index.html new file mode 100644 index 0000000..1d10272 --- /dev/null +++ b/src/main/resources/fallback/index.html @@ -0,0 +1,14 @@ + + + + HttpResources-Demo with Spring Boot + + +

HttpResources-Demo with Spring Boot

+

+ Start any webserver at http://localhost:8888 or + overwrite origin in the + application.properties... +

+ + diff --git a/src/main/resources/overwrite/favicon.ico b/src/main/resources/overwrite/favicon.ico new file mode 100644 index 0000000..d803843 Binary files /dev/null and b/src/main/resources/overwrite/favicon.ico differ