mirror of
https://github.com/whoswhip/Sharpbin.git
synced 2026-12-06 02:48:43 +00:00
chore: rename SharpbinV3 dir to SharpbinV3.Server
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
namespace SharpbinV3.Server.Settings
|
||||
{
|
||||
public class JWTSettings
|
||||
{
|
||||
public string Secret { get; set; } = Utilities.GenerateRandomString(64);
|
||||
public string Issuer { get; set; } = "SharpbinApi";
|
||||
public string Audience { get; set; } = "SharpbinClient";
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
namespace SharpbinV3.Server.Settings
|
||||
{
|
||||
public class PasteSettings
|
||||
{
|
||||
public string[] ValidSyntaxLanguages { get; set; } = [];
|
||||
public int MaxTitleLength { get; set; } = 500;
|
||||
public int MaxPasteSizeInBytes { get; set; } = 1_048_576; // 1 MB
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user