Skip to content
Discussion options

You must be logged in to vote

Hi @fjosegalan yes it is possible indeed. Please look into content routes, which can be assigned using server.Routes.PreAuthentication.Content.

e.g.

server.Routes.PreAuthentication.Content.Add("./pages/", true);

The Test.Default project has an example of this as well, so you can run that project to see its behavior:

            _Server.Routes.PreAuthentication.Content.Add("/html/", true);
            _Server.Routes.PreAuthentication.Content.Add("/large/", true);
            _Server.Routes.PreAuthentication.Content.Add("/img/watson.jpg", false);

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@fjosegalan
Comment options

@jchristn
Comment options

Answer selected by fjosegalan
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