Skip to content
Discussion options

You must be logged in to vote

Hi there! In startup you can simply disable all routing features to get it to run in "passive mode".

services.AddPiranha(options =>
{
    options.UseCms(o =>
    {
        o.UseAliasRouting = false;
        o.UseArchiveRouting = false;
        o.UsePageRouting = false;
        o.UsePostRouting = false;
        o.UseSitemapRouting = false;
        o.UseSiteRouting = false;
        o.UseStartpageRouting = false;
    });
});

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by tidyui
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #2100 on November 20, 2024 20:42.