feat: Add cache clear api route

This commit is contained in:
2025-06-17 23:17:19 +10:00
parent 5b3714f45c
commit ea2bcbb217
5 changed files with 83 additions and 27 deletions

View File

@@ -5,14 +5,23 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>IPFS.act</title>
<link rel="icon" href="https://woodburn.au/favicon.png" type="image/png">
<!-- OpenGraph meta tags -->
<meta property="og:title" content="IPFS.act">
<meta property="og:description" content="Example page stored on IPFS">
<meta property="og:image" content="https://ipfs.woodburn.au/og.png">
<meta property="og:type" content="website">
</head>
<body style="background-color: black; color: blueviolet;text-align: center;">
<h1>IPFS.act</h1>
<p>This is a demo page running on IPFS.</p>
<p>It is designed to showcase the capabilities of IPFS and Handshake domains.</p>
<img src="https://ipfs.woodburn.au/og.png" alt="Fire Portal" style="max-width: 100%; max-height: 750px;">
<div style="position: absolute; bottom: 25px; left: 0; width: 100%; text-align: center;">
<a href="https://nathan.woodburn.au" style="color: white;">&copy; Nathan.Woodburn/</a>
<a href="https://nathan.woodburn.au" style="color: white;" target="_blank">&copy; Nathan.Woodburn/</a>
</div>
</body>
</html>

View File

@@ -157,6 +157,19 @@
<li>Wait a few minutes and you should be able to see your IPFS content on the domain</li>
</ol>
</section>
<section class="info-section">
<h2>API Reference</h2>
<p>
Fire Portal provides API endpoints to programmatically interact with the service:
</p>
<ul>
<li>
<strong>Force Refresh:</strong>
<code>GET /api/refresh/{domain}</code> - Forces a refresh of IPFS content for a domain
</li>
</ul>
</section>
</main>
<footer>