fix: clean URLs — /tos and /privacy instead of /tos.html and /privacy.html

- Added Express routes for /tos and /privacy
- Updated all internal links (index.html, privacy.html, tos.html)
- Updated sitemap.xml URLs
- Updated README and docs architecture
This commit is contained in:
Sʜɪɴᴇɪ Nᴏᴜᴢᴇɴ
2026-06-08 21:21:55 +05:30
parent ff802247f3
commit 445b6f7c71
8 changed files with 29 additions and 12 deletions
+2 -2
View File
@@ -538,8 +538,8 @@ fetch("https://anikototvapi.vercel.app/api")
</div>
<div class="footer-col">
<h4>Legal</h4>
<a href="/privacy.html">Privacy Policy</a>
<a href="/tos.html">Terms of Service</a>
<a href="//privacy">Privacy Policy</a>
<a href="//tos">Terms of Service</a>
</div>
</div>
<div class="footer-bottom">
+1 -1
View File
@@ -78,6 +78,6 @@
<h2>8. Contact</h2>
<p>For questions about this Privacy Policy, open an issue at <a href="https://github.com/Shineii86/AniKotoAPI/issues" target="_blank">github.com/Shineii86/AniKotoAPI/issues</a>.</p>
</div>
<footer>&copy; 2026 AniKotoAPI &middot; <a href="/" style="color:var(--purple)">Home</a> &middot; <a href="/tos.html" style="color:var(--purple)">Terms</a></footer>
<footer>&copy; 2026 AniKotoAPI &middot; <a href="/" style="color:var(--purple)">Home</a> &middot; <a href="//tos" style="color:var(--purple)">Terms</a></footer>
</body>
</html>
+2 -2
View File
@@ -13,13 +13,13 @@
<priority>0.9</priority>
</url>
<url>
<loc>https://anikototvapi.vercel.app/privacy.html</loc>
<loc>https://anikototvapi.vercel.app//privacy</loc>
<lastmod>2026-06-08</lastmod>
<changefreq>monthly</changefreq>
<priority>0.3</priority>
</url>
<url>
<loc>https://anikototvapi.vercel.app/tos.html</loc>
<loc>https://anikototvapi.vercel.app//tos</loc>
<lastmod>2026-06-08</lastmod>
<changefreq>monthly</changefreq>
<priority>0.3</priority>
+1 -1
View File
@@ -89,6 +89,6 @@
<h2>13. Contact</h2>
<p>For questions about these Terms, open an issue at <a href="https://github.com/Shineii86/AniKotoAPI/issues" target="_blank">github.com/Shineii86/AniKotoAPI/issues</a>.</p>
</div>
<footer>&copy; 2026 AniKotoAPI &middot; <a href="/" style="color:var(--purple)">Home</a> &middot; <a href="/privacy.html" style="color:var(--purple)">Privacy</a></footer>
<footer>&copy; 2026 AniKotoAPI &middot; <a href="/" style="color:var(--purple)">Home</a> &middot; <a href="//privacy" style="color:var(--purple)">Privacy</a></footer>
</body>
</html>