-
Notifications
You must be signed in to change notification settings - Fork 12
Open
Description
I would like to be able to register a IUrlModifier so I can throw all this behind a CDN. Unfortunately this is not possible because due to WebHost:
base.ConfigureContainer();
Container.Register<IUrlModifier>((c, p) => new UrlModifier(getContext));
Container.Register<IUrlGenerator>((c, n) => new UrlGenerator(c.Resolve<IUrlModifier>(), UrlModifier.CassettePrefix));
I can get around this by ignoring CassetteNancyStartup and reimplementing my own but that's no fun!
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels