我已经制作了这个自定义过滤器来检查用户是否已登录,但这会导致重定向循环。
<!DOCTYPE html>
<html lang="de">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<title>DEV</title>
</head>
<body>
<script type="module">
var buffer = new Buffer();
var writer = new BufferWriter(buffer);
writer.writeShort(21);
writer.writeLong(-297292011);
console.log(buffer, buffer.toString(), buffer.toHEX());
</script>
<script nomodule>
alert('Your Browser don\'t use new techniques - Please upgrade or download Opera, Firefox or Chrome!');
</script>
</body>
</html>