mirror of
https://github.com/whoswhip/Sharpbin.git
synced 2026-12-06 02:48:43 +00:00
feat: paste compression & verification enforcement settings; enforce 2fa on admins setting; increase paste validation; anonymous uploads
fix: minor styling issue on main elements; resolve lint issue refactor: remove 2FA badge on user pages; enhance paste creation flow; body background color always neutral-950; improve paste creation paste info (lines, cchars etc) for mobile
This commit is contained in:
@@ -5,5 +5,7 @@
|
||||
public string[] ValidSyntaxLanguages { get; set; } = [];
|
||||
public int MaxTitleLength { get; set; } = 500;
|
||||
public int MaxPasteSizeInBytes { get; set; } = 1_048_576; // 1 MB
|
||||
public bool EnablePasteCompression { get; set; } = true;
|
||||
public bool RequiresVerfication { get; set; } = true;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user