Commit 321ff41
Fix GitHub Pages demo by loading library and data from Cloudflare CDN
GitHub Pages is configured in legacy build mode (serves main:/docs
directly), so the GitHub Actions workflow's artifact is ignored. Built
files under docs/dist/ are gitignored and therefore never reach the
deployed site, causing "Jpostcode is not defined" errors on
matzlika.github.io/jpostcode-js/.
Point the demo's script src and Jpostcode.setBaseUrl() at the
Cloudflare Pages distribution so the page works regardless of which
host serves the HTML.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 481c275 commit 321ff41
1 file changed
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
501 | 501 | | |
502 | 502 | | |
503 | 503 | | |
504 | | - | |
| 504 | + | |
505 | 505 | | |
| 506 | + | |
| 507 | + | |
506 | 508 | | |
507 | 509 | | |
508 | 510 | | |
| |||
0 commit comments