Skip to content

Commit 2642d82

Browse files
committed
add index.html
1 parent 804198b commit 2642d82

File tree

2 files changed

+16
-1
lines changed

2 files changed

+16
-1
lines changed

resources/build.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -296,7 +296,7 @@
296296
/>
297297

298298
<move file="${project.dist.version}/${project.name}.zip" todir="${project.dist}"/>
299-
<move file="resources/index.html" todir="${project.dist}" />
299+
<copy file="resources/index.html" todir="${project.dist}" />
300300

301301
<delete dir="${project.dist.version}"/>
302302
</target>

resources/index.html

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
<!DOCTYPE HTML>
2+
<html lang="en-US">
3+
<head>
4+
<meta charset="UTF-8">
5+
<meta http-equiv="refresh" content="0; url=https://scratch4j.openpatch.org">
6+
<script type="text/javascript">
7+
window.location.href = "https://scratch4j.openpatch.org"
8+
</script>
9+
<title>Page Redirection</title>
10+
</head>
11+
<body>
12+
<!-- Note: don't tell people to `click` the link, just tell them that it is a link. -->
13+
If you are not redirected automatically, follow this <a href='https://scratch4j.openpatch.org'>link to example</a>.
14+
</body>
15+
</html>

0 commit comments

Comments
 (0)