Skip to content

Commit

Permalink
remove base
Browse files Browse the repository at this point in the history
  • Loading branch information
pachonjcl committed Dec 8, 2024
1 parent 41bbcd1 commit b12376f
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions astro.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -22,17 +22,14 @@ const LIVE_URL = "https://pachonjcl.github.io";
const SCRIPT = process.env.npm_lifecycle_script || "";
const isBuild = SCRIPT.includes("astro build");
let BASE_URL = LOCALHOST_URL;
let BASE = "";
// When you're building your site in local or in CI, you could just set your URL manually
if (isBuild) {
BASE_URL = LIVE_URL;
BASE = "v2website";
}

export default defineConfig({
server: { port: SERVER_PORT },
site: BASE_URL,
base: BASE,
integrations: [
sitemap(),
tailwind({
Expand Down

0 comments on commit b12376f

Please sign in to comment.