Dateien nach „/“ hochladen

This commit is contained in:
nagnag 2026-04-17 13:19:20 +02:00
commit 865f0956ad
4 changed files with 1404 additions and 0 deletions

24
start.bat Normal file
View file

@ -0,0 +1,24 @@
@echo off
setlocal
cd /d "%~dp0"
set PORT=8000
set URL=http://localhost:%PORT%/index.html
where py >nul 2>&1
if %ERRORLEVEL%==0 (
start "" "%URL%"
py -3 -m http.server %PORT%
goto :eof
)
where python >nul 2>&1
if %ERRORLEVEL%==0 (
start "" "%URL%"
python -m http.server %PORT%
goto :eof
)
echo Python was not found.
echo Install Python 3 from https://www.python.org/downloads/ and try again.
pause