Open Source Digital Signage 〈A-Z PREMIUM〉
EXPOSE 5000
CMD ["python", "qr_signage_api.py"]
COPY . .
return jsonify( 'id': current_qr.id, 'name': current_qr.name, 'url': current_qr.url, 'qr_image': qr_base64, 'description': current_qr.description, 'duration': current_qr.display_duration ) @app.route('/api/track-scan', methods=['POST']) def track_scan(): data = request.json qr_id = data.get('qr_id') open source digital signage
if not active_qrs: return jsonify('error': 'No active QR codes'), 404 EXPOSE 5000
CMD ["python", "qr_signage_api
EXPOSE 5000
CMD ["python", "qr_signage_api.py"]
COPY . .
return jsonify( 'id': current_qr.id, 'name': current_qr.name, 'url': current_qr.url, 'qr_image': qr_base64, 'description': current_qr.description, 'duration': current_qr.display_duration ) @app.route('/api/track-scan', methods=['POST']) def track_scan(): data = request.json qr_id = data.get('qr_id')
if not active_qrs: return jsonify('error': 'No active QR codes'), 404