@@ 1,3 1,4 @@
+using System.Reflection;
using Mamoru.Models.Mamoru;
using Mamoru.Utils;
using WebSocketSharp.Net;
@@ 9,7 10,12 @@ public class StatusRoute : AbstractRoute {
public override bool Cors => true;
public override void Get(ref HttpListenerRequest req, ref HttpListenerResponse res) {
- var status = new Status(true, true, "9.0.0-alpha-2", "1.0.0-alpha");
+ var status = new Status(
+ true,
+ true,
+ Assembly.GetAssembly(typeof(Exiled.Loader.Loader)).GetName().Version.ToString(),
+ "1.0.0-alpha"
+ );
JsonResponse.Create(ref res, status);
}
}=
\ No newline at end of file