Update app.py

This commit is contained in:
Stefan Pejcic 2025-05-08 13:23:59 +02:00 committed by GitHub
parent d193bb6b14
commit b2b5847386
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -7,7 +7,7 @@ from apscheduler.schedulers.background import BackgroundScheduler
app = Flask(__name__) app = Flask(__name__)
CACHE_DIR = '/home/screenshot/screenshot_cache' CACHE_DIR = 'screenshots_cache'
def capture_screenshot(domain): def capture_screenshot(domain):
url = f'http://{domain}' url = f'http://{domain}'