fix: update scrape route to support both GET and POST methods
Some checks failed
CI/CD Pipeline / test (push) Successful in 1m35s
CI/CD Pipeline / build-image (push) Failing after 1m39s

This commit is contained in:
2026-01-21 18:46:37 +01:00
parent 54ed111078
commit e8baeb3bcf

View File

@@ -277,7 +277,7 @@ def set_favorite(job_id):
csrf.exempt(set_favorite) csrf.exempt(set_favorite)
@app.route('/scrape', methods=['POST']) @app.route('/scrape', methods=['GET', 'POST'])
def scrape(): def scrape():
"""Trigger the web scraping process with streaming output.""" """Trigger the web scraping process with streaming output."""
def generate(): def generate():