Added overwrite- and fallback-content
[demos/httpresources] / src / main / resources / fallback / index.html
diff --git a/src/main/resources/fallback/index.html b/src/main/resources/fallback/index.html
new file mode 100644 (file)
index 0000000..1c33cf2
--- /dev/null
@@ -0,0 +1,26 @@
+<!DOCTYPE html>
+<html>
+  <head>
+    <title>HttpResources-Demo with Spring Boot</title>
+  </head>
+  <body>
+    <h1>HttpResources-Demo with Spring Boot</h1>
+    <h2>Fallback Content</h2>
+    <p>
+      This content is only visible, if it does not on the origin
+      server, or if no orign server is running.
+    </p>
+    <p>
+      Start any webserver at <strong>http://localhost:8888</strong> or
+      overwrite <strong>origin</strong> in the
+      <strong>application.properties</strong>...
+    </p>
+    <p>
+      Overwritten content:
+    </p>
+    <ul>
+      <li><a href="/favicon.ico">favicon.ico</a></li>
+      <li><a href="/test.html">test.html</a></li>
+    </ul>
+  </body>
+</html>