[~] Refactor

This commit is contained in:
Siarhei Siniak 2022-01-26 10:24:06 +03:00
parent cb04f05d48
commit 46e16a5441

@ -483,7 +483,7 @@ try:
-it --entrypoint=/bin/bash \
-v $PWD:/app:ro \
nginx:latest \
-c 'echo "server{listen 80; root /app; location / {autoindex on;}}" > /etc/nginx/conf.d/default.conf; nginx -g "daemon off;"'
-c 'echo "server{listen 80; charset UTF-8; root /app; location / {autoindex on;}}" > /etc/nginx/conf.d/default.conf; nginx -g "daemon off;"'
''', shell=True)
elif sys.argv[1] == 'wl-screenshot':
subprocess.check_call(r'''