mirror of
https://github.com/CannedNet/CannedNet.git
synced 2026-10-25 15:09:23 -07:00
fix server crash + add voice config for moderation
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
|
||||
namespace CannedNet.Services.Controllers;
|
||||
|
||||
[ApiController, Route("moderation")]
|
||||
public class ModerationController : ControllerBase
|
||||
{
|
||||
[HttpGet("voice/config")]
|
||||
public async Task<IResult> GetVoiceModConfig()
|
||||
{
|
||||
return Results.Ok(new
|
||||
{
|
||||
AccountId = (string?)null,
|
||||
ApiKey = (string?)null
|
||||
});
|
||||
}
|
||||
}
|
||||
@@ -48,7 +48,7 @@ public static class Signatures
|
||||
Console.WriteLine($"Modulus:");
|
||||
Console.WriteLine(modulusBase64);
|
||||
Console.WriteLine("Make sure to replace the modulus in your clients global-metadata to this one or else the game will crash.");
|
||||
Console.WriteLine("Rec Room's modulus in metadata starts with ''")
|
||||
Console.WriteLine("Rec Room's modulus in metadata starts with 'X07yXkxaaLcZ1wVXfkWjgFkkqdoLhDFm0GPO'");
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user