<commit_before>﻿using Eurofurence.App.Server.Services.Telegram;
using Eurofurence.App.Server.Web;
using Microsoft.AspNetCore.Hosting;

namespace Eurofurence.App.Server.KestrelHost
{
    public class Program
    {
        public static void Main(string[] args)
        {
            var host = new WebHostBuilder()
                .UseStartup<Startup>()
                .UseKestrel()
                .UseUrls("http://*:30001")
                .Build();

            var botManager = (BotManager)host.Services.GetService(typeof(BotManager));
            botManager.Start();

            host.Run();
        }
    }
}<commit_msg>Adding support for baseUrl parameter<commit_after>﻿using Eurofurence.App.Server.Services.Telegram;
using Eurofurence.App.Server.Web;
using Microsoft.AspNetCore.Hosting;

namespace Eurofurence.App.Server.KestrelHost
{
    public class Program
    {
        public static void Main(string[] args)
        {
            var baseUrl = (args.Length >= 1) ? args[0] : "http://*:30001";

            var host = new WebHostBuilder()
                .UseStartup<Startup>()
                .UseKestrel()
                .UseUrls(baseUrl)
                .Build();

            var botManager = (BotManager)host.Services.GetService(typeof(BotManager));
            botManager.Start();

            host.Run();
        }
    }
}
{'fraction_non_alphanumeric': 0.11549925484351714, 'fraction_numerical': 0.00894187779433681, 'mean_word_length': 2.004474272930649, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 6, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '128810', 'n_tokens_mistral': 400, 'n_tokens_neox': 375, 'n_words': 68}