mirror of
https://git.teknik.io/Teknikode/Teknik.git
synced 2023-08-02 14:16:22 +02:00
Added preventing viewing of Paste if it was password protected. Added download increments for each item. Added checking for paste expiration. Added not showing upload if it was encrypted client side.
22 lines
455 B
C#
22 lines
455 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Web;
|
|
|
|
namespace Teknik.Configuration
|
|
{
|
|
public class ShortenerConfig
|
|
{
|
|
public bool Enabled { get; set; }
|
|
public string ShortenerHost { get; set; }
|
|
|
|
public int UrlLength { get; set; }
|
|
|
|
public ShortenerConfig()
|
|
{
|
|
Enabled = true;
|
|
ShortenerHost = string.Empty;
|
|
UrlLength = 4;
|
|
}
|
|
}
|
|
} |