收口 Rust Web 入口与 AI 写入链
- 将 3000 主入口继续收口到 mnote-web,补齐 /favicon.ico、/api/auth、session alias、AI run 等 Rust Web 路由边界。 - 更新登录页与 Convex Auth 代理,支持测试账号快速登录写入真实 Convex Auth cookie。 - 推进页面设置、Wolai 对齐、Phase 7 AI kernel/CLI-first 设计文档与相关 smoke 脚本。 - 更新 leptos-tiptap 生成资产、mnote-cli/bridge-runtime、前端依赖和 dev/prod 启动脚本。
This commit is contained in:
@@ -13,11 +13,26 @@
|
||||
* - CONVEX_INTERNAL_URL:默认 http://127.0.0.1:3210
|
||||
*/
|
||||
|
||||
const http = require("http");
|
||||
const net = require("net");
|
||||
const path = require("path");
|
||||
const next = require("next");
|
||||
const { parse: parseUrl } = require("url");
|
||||
const http = require("http");
|
||||
const net = require("net");
|
||||
const path = require("path");
|
||||
|
||||
// 说明:Next 当前 vendored 的 browserslist/baseline 提示会在进程启动早期输出,
|
||||
// 即使项目侧依赖已经升级也未必消失。这里默认静音这类“当前不可操作”的噪音;
|
||||
// 如需排查真实数据新鲜度,可在启动前显式传入 `false` 恢复原始警告。
|
||||
if (process.env.BROWSERSLIST_IGNORE_OLD_DATA === "false") {
|
||||
delete process.env.BROWSERSLIST_IGNORE_OLD_DATA;
|
||||
} else if (process.env.BROWSERSLIST_IGNORE_OLD_DATA === undefined) {
|
||||
process.env.BROWSERSLIST_IGNORE_OLD_DATA = "true";
|
||||
}
|
||||
if (process.env.BASELINE_BROWSER_MAPPING_IGNORE_OLD_DATA === "false") {
|
||||
delete process.env.BASELINE_BROWSER_MAPPING_IGNORE_OLD_DATA;
|
||||
} else if (process.env.BASELINE_BROWSER_MAPPING_IGNORE_OLD_DATA === undefined) {
|
||||
process.env.BASELINE_BROWSER_MAPPING_IGNORE_OLD_DATA = "true";
|
||||
}
|
||||
|
||||
const next = require("next");
|
||||
const { parse: parseUrl } = require("url");
|
||||
|
||||
const ONLYOFFICE_PREFIX = "/onlyoffice-server";
|
||||
const CONVEX_PREFIX = "/convex";
|
||||
|
||||
Reference in New Issue
Block a user