Changelog b1bec0a
move to cannabisfreedom.fyi
2 files of code, design or docs +4 −3 lines
Code, design and documents 2 files
README.md +1 −1
@@ -3,5 +3,5 @@ A 0–100 score of personal cannabis freedom for every country — what you may carry, grow, share and use, and what happens to you if you do. Each score comes with a written explanation and linked sources. -**Live site:** https://burningtree.github.io/cannabis-freedom-index/ +**Live site:** https://cannabisfreedom.fyi/ ## How the score works
astro.config.mjs +3 −2
@@ -3,6 +3,7 @@ import { defineConfig } from "astro/config"; // Fully static output: one HTML file per page, including one per country. // -// SITE and BASE_PATH are set by the GitHub Pages workflow (e.g. BASE_PATH="/cannabis-freedom-index" -// for a project site). Locally both are unset and the site is served from "/". +// SITE and BASE_PATH are set by the GitHub Pages workflow from the repository's Pages settings. +// The site lives at https://cannabisfreedom.fyi/, so BASE_PATH is empty there; it would be +// "/cannabis-freedom-index" on the default github.io address. Locally both are unset. // The base always ends with a slash because links are built as `${base}country/…`. const base = (process.env.BASE_PATH || "").replace(/\/+$/, "") + "/";