Welcome to Evolution Server, a versatile platform for creating Yu-Gi-Oh! matches, fully compatible with EDOPro, Koishi, and YGO Mobile! But this time, we focus on the scalability of the code, allowing for easy implementation of new features related to the data generated during the duels.
Add Admin Authentication Middleware and New Admin Message Endpoint
Summary: This pull request introduces the following enhancements:
/api/admin/*
endpoints./api/admin/message
to send messages to all rooms.Details:
AuthAdminMiddleware:
/api/admin/*
.Admin Message Endpoint:
/api/admin/message
Feel free to make any modifications as needed.