Files
NetworkDeviceManagementSystem/backend/modules/uploads/upload_routes.py

11 lines
378 B
Python
Raw Normal View History

2026-05-27 13:50:27 +07:00
from flask import Blueprint
from modules.uploads.upload_controller import (
upload_device_type_icon_controller,
upload_device_avatar_controller,
)
upload_bp = Blueprint("uploads", __name__)
upload_bp.route("/device-type-icons", methods=["POST"])(upload_device_type_icon_controller)
upload_bp.route("/device-avatars", methods=["POST"])(upload_device_avatar_controller)