Quantcast
Channel: Active questions tagged blazor - Stack Overflow
Viewing all articles
Browse latest Browse all 4839

Exclusions from Blazor SSR parameterised pages

$
0
0

I have a Blazor SSR page with a simple domainname/{urlparam} page route, the urlparam is then used to dynamically show different page content; I can't change the URL pattern. It works fine but I've added Google Adsense and need to add an ads.txt file in the root, however this is being picked up by the page route as a urlparam for the page so the actual file can't be found.

Ideally I'd like to specify an exclusion criteria for the page to exclude ads.txt but can't work out how to do that, does anyone know how I can still allow the ads.txt file to load?


Viewing all articles
Browse latest Browse all 4839

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>