Browse Source

Added changelog redirect script.

Mr.doob 5 years ago
parent
commit
71f69455fb
1 changed files with 11 additions and 0 deletions
  1. 11 0
      changelog/index.html

+ 11 - 0
changelog/index.html

@@ -0,0 +1,11 @@
+<!DOCTYPE html>
+<html lang="en">
+	<head>
+		<script>
+			if ( window.location.search.length === 5 ) {
+				var github = 'https://github.com/mrdoob/three.js/releases/tag/';
+				window.location.replace( github + window.location.search.substr( 1, 4 ) );
+			}
+		</script>
+	</head>
+</html>