Mercurial Hosting > nabble
diff src/global/UrlMapperImpl.java @ 10:02b2fdfc07e2
ads.txt
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Mon, 29 Jul 2019 19:25:00 -0600 |
parents | 7ecd1a4ef557 |
children |
line wrap: on
line diff
--- a/src/global/UrlMapperImpl.java Mon Jul 29 22:50:05 2019 +1000 +++ b/src/global/UrlMapperImpl.java Mon Jul 29 19:25:00 2019 -0600 @@ -36,6 +36,9 @@ if( path.equals("/sitemap.txt") ) return new UrlMapping( global.web.Sitemap.class, Collections.<String,String[]>emptyMap() ); + if( path.equals("/ads.txt") ) + return new UrlMapping( global.web.Ads.class, Collections.<String,String[]>emptyMap() ); + return null; } }