13 lines
250 B
Batchfile
13 lines
250 B
Batchfile
@echo off
|
|
cd /d "%~dp0"
|
|
echo Anidev Dock
|
|
echo Open http://127.0.0.1:4173/ in your browser.
|
|
echo Press Ctrl+C to stop.
|
|
where node >nul 2>nul
|
|
if not errorlevel 1 (
|
|
node scripts/serve.mjs
|
|
) else (
|
|
python -m http.server 4173 --bind 127.0.0.1
|
|
)
|
|
pause
|