浏览代码

Added changelog redirect script.

Mr.doob 5 年之前
父节点
当前提交
71f69455fb
共有 1 个文件被更改,包括 11 次插入0 次删除
  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>