This commit is contained in:
Your Name
2026-04-16 13:05:07 +08:00
commit 32efff1670
99 changed files with 9974 additions and 0 deletions

13
start_domain_web.ps1 Normal file
View File

@@ -0,0 +1,13 @@
$ErrorActionPreference = 'Stop'
$root = Split-Path -Parent $MyInvocation.MyCommand.Path
$webRoot = Join-Path $root 'domain-web'
$nodeRoot = Join-Path $root 'domainCheck\tools\node-v20.19.4-win-x64'
$npm = Join-Path $nodeRoot 'npm.cmd'
if (-not (Test-Path $npm)) {
throw "未找到 npm 命令: $npm"
}
$env:PATH = "$nodeRoot;$env:PATH"
Set-Location $webRoot
& $npm run dev -- --host 0.0.0.0 --port 3200