
        <!doctype html>
        <html lang="zh">
        <head>
          <meta charset="utf-8">
          <title>Redirecting…</title>
        </head>
        <body>
          正在跳转，请稍候...
        <script>
        (function(){
          var loc = window.location;
          var search = loc.search || "";    // e.g. ?a=1
          var hash = loc.hash || "";        // e.g. #/start?b=2

          // 去掉 # 号
          if (hash.startsWith("#")) {
            hash = hash.substring(1);
          }

          // 目标基础路径
          var targetBase = "https://www.chatexcel.com/workspace";

          var finalQuery = "";

          // 1️⃣ 如果 hash 中带参数（#/start?...），优先用 hash 内的参数
          if (hash.includes("?")) {
            finalQuery = hash.substring(hash.indexOf("?"));  // 从 ? 开始截取
          }
          // 2️⃣ 否则如果主 URL 有参数（?xxx=xxx）
          else if (search) {
            finalQuery = search;
          }

          // 防御：去掉可能多余的锚点
          if (finalQuery.indexOf("#") !== -1) {
            finalQuery = finalQuery.split("#")[0];
          }

          // 拼接目标 URL
          var target = targetBase + finalQuery;

          // 跳转（不保留历史）
          window.location.replace(target);
        })();
        </script>
        </body>
        </html>