1
0
Fork 0
mirror of https://github.com/miawinter98/just-short-it.git synced 2024-09-20 01:39:00 +00:00

Removed unused code

This commit is contained in:
Mia Rose Winter 2023-04-19 15:32:52 +02:00
parent 286eb0723a
commit f944ea4236
Signed by: miawinter
GPG key ID: 4B6F6A83178F595E
2 changed files with 0 additions and 3 deletions

View file

@ -1,5 +1,4 @@
@page
@using System.Globalization
@model JustShortIt.Pages.UrlsModel
@{
ViewData["Title"] = "Urls";

View file

@ -20,8 +20,6 @@ public class UrlsModel : PageModel {
private IDistributedCache Db { get; }
public UrlsModel(IConfiguration configuration, IDistributedCache db) {
// TODO display error on page instead
BaseUrl = configuration.GetValue<string>("BaseUrl") ?? throw new ApplicationException("BaseUrl not set");
#if DEBUG
BaseUrl = "https://localhost/";
#else