瀏覽代碼

This script can compile most of the pages

master
[email protected] 2 週之前
父節點
當前提交
5e469b80ea
共有 1 個檔案被更改,包括 25 行新增0 行删除
  1. +25
    -0
      warmup.bat

+ 25
- 0
warmup.bat 查看文件

@@ -0,0 +1,25 @@
@echo off
echo Warming up pages...

curl http://localhost:3000/ >nul 2>&1
curl http://localhost:3000/po >nul 2>&1
curl http://localhost:3000/dashboard >nul 2>&1
curl http://localhost:3000/pickOrder >nul 2>&1
curl http://localhost:3000/inventory >nul 2>&1
curl http://localhost:3000/stocktakemanagement >nul 2>&1
curl http://localhost:3000/stockIssue >nul 2>&1
curl http://localhost:3000/putAway >nul 2>&1
curl http://localhost:3000/finishedGood >nul 2>&1
curl http://localhost:3000/stockRecord >nul 2>&1
curl http://localhost:3000/do >nul 2>&1
curl http://localhost:3000/ps >nul 2>&1
curl http://localhost:3000/jo >nul 2>&1
curl http://localhost:3000/jodetail >nul 2>&1
curl http://localhost:3000/productionProcess >nul 2>&1
curl http://localhost:3000/bag >nul 2>&1
curl http://localhost:3000/report >nul 2>&1
curl http://localhost:3000/settings/user >nul 2>&1
curl http://localhost:3000/settings/items >nul 2>&1

echo Warm-up complete! Navigate freely now.
pause

Loading…
取消
儲存