diff --git a/bin/screenshot_public.sh b/bin/screenshot_public.sh index aff13f2..fa6a2ca 100755 --- a/bin/screenshot_public.sh +++ b/bin/screenshot_public.sh @@ -2,7 +2,7 @@ set -e # Setup filename for the screenshot -myfile="$(openssl rand -base64 9)_$(date +%y%m%d%H%M%S).webp" +myfile="$(openssl rand -base64 9 | tr / -)_$(date +%y%m%d%H%M%S).webp" webpath="https://pub.yori.cc/s/" fileurl="$webpath$myfile"