diff --git a/Teknik/Areas/Upload/Views/Upload/Index.cshtml b/Teknik/Areas/Upload/Views/Upload/Index.cshtml index 14a6382..b904d74 100644 --- a/Teknik/Areas/Upload/Views/Upload/Index.cshtml +++ b/Teknik/Areas/Upload/Views/Upload/Index.cshtml @@ -55,7 +55,7 @@
- +
diff --git a/Teknik/Areas/Vault/VaultAreaRegistration.cs b/Teknik/Areas/Vault/VaultAreaRegistration.cs index 92f7298..8c9ea3b 100644 --- a/Teknik/Areas/Vault/VaultAreaRegistration.cs +++ b/Teknik/Areas/Vault/VaultAreaRegistration.cs @@ -19,6 +19,15 @@ namespace Teknik.Areas.Vault public override void RegisterArea(AreaRegistrationContext context) { Config config = Config.Load(); + context.MapSubdomainRoute( + "Vault.Index", + new List() { "vault", "v" }, // Subdomains + new List() { config.Host }, // domains + "", + new { controller = "Vault", action = "NewVault" }, + new[] { typeof(Controllers.VaultController).Namespace } + ); + context.MapSubdomainRoute( "Vault.NewVault", new List() { "vault", "v" }, // Subdomains diff --git a/Teknik/Views/Shared/_Navbar.cshtml b/Teknik/Views/Shared/_Navbar.cshtml index abc4ada..7920daa 100644 --- a/Teknik/Views/Shared/_Navbar.cshtml +++ b/Teknik/Views/Shared/_Navbar.cshtml @@ -52,6 +52,9 @@
  • Shorten Url
  • +
  • + Vaults +
  • Git