feat: opt router path redirect

This commit is contained in:
engigu
2026-03-10 11:38:49 +08:00
parent 1584528bdf
commit c3aed2b8df
9 changed files with 832 additions and 408 deletions
+1 -1
View File
@@ -82,7 +82,7 @@ export MISE_DATA_DIR="$MISE_DIR"
export MISE_CONFIG_DIR="$MISE_DIR"
export PATH="$MISE_DIR/shims:$MISE_DIR/bin:$PATH"
export PIP_INDEX_URL=https://pypi.tuna.tsinghua.edu.cn/simple
export PIP_INDEX_URL=${PIP_INDEX_URL:-https://pypi.org/simple}
log "mise version: $(mise --version 2>/dev/null | head -n 1)"
log "python: $(python --version 2>&1 | head -n 1) at $(which python)"
+1 -1
View File
@@ -45,7 +45,7 @@ export PATH="$MISE_DIR/shims:$MISE_DIR/bin:$PATH"
export NODE_PATH=$(npm root -g 2>/dev/null)
# 默认启用 Python 镜像源
export PIP_INDEX_URL=https://pypi.tuna.tsinghua.edu.cn/simple
export PIP_INDEX_URL=${PIP_INDEX_URL:-https://pypi.org/simple}
# Node 内存限制
export NODE_OPTIONS="--max-old-space-size=256"