Our website uses cookies. By using our website you agree to the use of cookies. More information...
@app.route('/scan', methods=['POST']) def api_scan(): """ API Endpoint to trigger directory scan. In a production app, this would be secured. """ # For demonstration, we hardcode a path. # NEVER allow users to pass arbitrary paths via API without validation. demo_path = './media_samples'
Our website uses cookies. By using our website you agree to the use of cookies. More information...