• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

curt / Viae / 19527137380

20 Nov 2025 05:53AM UTC coverage: 51.56%. First build
19527137380

push

github

web-flow
feat: provide minimal locus and vestigium views (#1)

62 of 109 branches covered (56.88%)

Branch coverage included in aggregate %.

500 of 981 new or added lines in 61 files covered. (50.97%)

500 of 981 relevant lines covered (50.97%)

19.89 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/endpoint/src/Viae.Persistence/Extensions/ServiceCollectionExtensions.cs
1
// Copyright © 2025 Curt Gilman
2
// SPDX-License-Identifier: AGPL-3.0-only
3
// Viae: A geo-centric, journey-focused, federated blog platform
4

5
using Microsoft.Extensions.Configuration;
6
using Microsoft.Extensions.DependencyInjection;
7

8
namespace Viae.Persistence.Extensions;
9

10
public static class ServiceCollectionExtensions
11
{
12
    public static IServiceCollection AddViaePersistence(
13
        this IServiceCollection services,
14
        IConfiguration configuration
15
    )
16
    {
17
        // Configure and register URI generator service
NEW
18
        services.Configure<UriGeneratorOptions>(options =>
×
NEW
19
        {
×
NEW
20
            var baseUri = configuration["BaseUri"] ?? "https://localhost";
×
NEW
21
            options.BaseUri = new Uri(baseUri);
×
NEW
22
        });
×
23

NEW
24
        services.AddSingleton<IUriGeneratorService, UriGeneratorService>();
×
25

NEW
26
        return services;
×
27
    }
28
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc