PolHunter mission prep (every rebuilt network site gets one): the front page's 3 How The Draft steps carry the PolHunter embed (data-selector '.how .s'); CSP admits https://polhunter.com in script-src and connect-src. 5x has no paid-visit economy, so hunters need no special handling. smoke 156/156

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
martbost
2026-11-15 08:52:34 -06:00
parent 3815965fc1
commit cb18fde98b
3 changed files with 6 additions and 2 deletions
+2
View File
@@ -53,6 +53,8 @@
<p class="small">A position buys a draft spot and coaching tools, not income. Nothing is promised.</p></div>
</section>
</main>
<!-- PolHunter mission (every rebuilt network site gets one, Marty 2026-11-14): the 3 How The Draft steps -->
<script src="https://polhunter.com/embed.js" data-slots="3" data-selector=".how .s" async></script>
<script src="/assets/common.js?v=3"></script>
<script src="/assets/board.js?v=3"></script>
</body>
+2 -2
View File
@@ -43,8 +43,8 @@ const DAY = 86400000;
// ---- http helpers ----
const MIME = { '.html': 'text/html; charset=utf-8', '.css': 'text/css', '.js': 'text/javascript', '.png': 'image/png', '.jpg': 'image/jpeg',
'.gif': 'image/gif', '.svg': 'image/svg+xml', '.ico': 'image/x-icon', '.json': 'application/json', '.txt': 'text/plain; charset=utf-8', '.xml': 'application/xml' };
const CSP = "default-src 'self'; script-src 'self' https://cdn.jsdelivr.net https://linkspin.app; worker-src 'self' blob:; style-src 'self' 'unsafe-inline' https://fonts.googleapis.com; "
+ "img-src 'self' data: blob: https:; connect-src 'self' https://linkspin.app https://*.walletconnect.com wss://*.walletconnect.com https://*.walletconnect.org wss://*.walletconnect.org "
const CSP = "default-src 'self'; script-src 'self' https://cdn.jsdelivr.net https://linkspin.app https://polhunter.com; worker-src 'self' blob:; style-src 'self' 'unsafe-inline' https://fonts.googleapis.com; "
+ "img-src 'self' data: blob: https:; connect-src 'self' https://linkspin.app https://polhunter.com https://*.walletconnect.com wss://*.walletconnect.com https://*.walletconnect.org wss://*.walletconnect.org "
+ "https://*.reown.com wss://*.reown.com https://*.reown.org wss://*.reown.org https://*.web3modal.org https://*.drpc.org https://*.publicnode.com https://*.coinbase.com; "
+ "font-src 'self' data: https://fonts.gstatic.com https://fonts.reown.com; form-action 'self'; frame-src https: 'self'";
function headers(extra) { return Object.assign({ 'Content-Security-Policy': CSP, 'X-Content-Type-Options': 'nosniff', 'Referrer-Policy': 'strict-origin-when-cross-origin' }, extra || {}); }
+2
View File
@@ -78,6 +78,8 @@ page('index.html', { path: '/', title: '5xYourTeam | The weekly draft for people
<p class="small">${NOTE}</p></div>
</section>
</main>
<!-- PolHunter mission (every rebuilt network site gets one, Marty 2026-11-14): the 3 How The Draft steps -->
<script src="https://polhunter.com/embed.js" data-slots="3" data-selector=".how .s" async></script>
`, ['board.js']);
// ---------------------------------------------------------------- my team