5 lines
160 B
Text
5 lines
160 B
Text
#!/usr/bin/with-contenv bashio
|
|
IMG_DIR="$(bashio::config 'image_path')"
|
|
bashio::log.info "Starting image server..."
|
|
cd $IMG_DIR
|
|
python -m SimpleHTTPServer 8080
|