Skip to content

Commit a13c653

Browse files
authored
CLDR-14145 add redirect and icon (#22)
- add a ROOT directory which will go in the server root - add the favicon.ico from unicode.org/favicon.ico Fixes: #19 Fixes: #18
1 parent 845c658 commit a13c653

File tree

4 files changed

+18
-0
lines changed

4 files changed

+18
-0
lines changed

UnicodeJsps/.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# parent ignores *.d files.
2+
3+
!/jetty.d

UnicodeJsps/Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ RUN ant -DCATALINA_HOME=${CATALINA_HOME} war
1919
FROM jetty:9-jre11-slim AS run
2020
# FROM tomcat:9-jdk14-openjdk-slim-buster AS run
2121
ADD port-entrypoint.sh /port-entrypoint.sh
22+
ADD ./jetty.d/ROOT /var/lib/jetty/webapps/ROOT/
2223
ENTRYPOINT [ "/port-entrypoint.sh" ]
2324
COPY --from=build /home/UnicodeJsps.war /var/lib/jetty/webapps/
2425
# This is the default PORT. Override by setting PORT.
15 KB
Binary file not shown.
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
<html>
2+
3+
<head>
4+
<title>Unicode Utilities | Redirect</title>
5+
<meta http-equiv="refresh" content="0;URL='/UnicodeJsps'" />
6+
</head>
7+
8+
<body>
9+
<h1><a href="https://www.unicode.org"><img alt="icon" src="/favicon.ico" />Unicode Utilities</a></h1>
10+
<h2>Redirecting...</h2>
11+
You should have been redirected here: <a href="/UnicodeJsps">/UnicodeJsps</a>
12+
</body>
13+
14+
</html>

0 commit comments

Comments
 (0)