Update Web UI screenshots and fix script for HTTPS
BIN
data/WebUI.webp
|
Before Width: | Height: | Size: 37 KiB After Width: | Height: | Size: 17 KiB |
|
Before Width: | Height: | Size: 54 KiB After Width: | Height: | Size: 50 KiB |
|
Before Width: | Height: | Size: 21 KiB After Width: | Height: | Size: 16 KiB |
|
Before Width: | Height: | Size: 39 KiB After Width: | Height: | Size: 16 KiB |
|
Before Width: | Height: | Size: 33 KiB After Width: | Height: | Size: 16 KiB |
|
Before Width: | Height: | Size: 32 KiB After Width: | Height: | Size: 16 KiB |
|
Before Width: | Height: | Size: 37 KiB After Width: | Height: | Size: 16 KiB |
BIN
data/WebUI_Recover.webp
Normal file
|
After Width: | Height: | Size: 23 KiB |
|
Before Width: | Height: | Size: 37 KiB After Width: | Height: | Size: 16 KiB |
BIN
data/WebUI_Tools.webp
Normal file
|
After Width: | Height: | Size: 16 KiB |
@@ -33,8 +33,8 @@ for cmd in chromium magick curl; do
|
|||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
||||||
# Check if server is running
|
# Check if server is running (-k for self-signed certs)
|
||||||
if ! curl -s "$BASE_URL" > /dev/null 2>&1; then
|
if ! curl -sk "$BASE_URL" > /dev/null 2>&1; then
|
||||||
echo "Error: Server not responding at $BASE_URL"
|
echo "Error: Server not responding at $BASE_URL"
|
||||||
echo "Start with: STEGASOO_AUTH_ENABLED=false python frontends/web/app.py"
|
echo "Start with: STEGASOO_AUTH_ENABLED=false python frontends/web/app.py"
|
||||||
exit 1
|
exit 1
|
||||||
@@ -49,7 +49,7 @@ capture() {
|
|||||||
printf " %-20s <- %s\n" "$name" "$route"
|
printf " %-20s <- %s\n" "$name" "$route"
|
||||||
chromium --headless --screenshot="$OUTPUT_DIR/$name.png" \
|
chromium --headless --screenshot="$OUTPUT_DIR/$name.png" \
|
||||||
--window-size="$WINDOW_SIZE" --hide-scrollbars \
|
--window-size="$WINDOW_SIZE" --hide-scrollbars \
|
||||||
--disable-gpu --no-sandbox \
|
--disable-gpu --no-sandbox --ignore-certificate-errors \
|
||||||
"$url" 2>/dev/null
|
"$url" 2>/dev/null
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||