Skip to content

Commit

Permalink
astro commit
Browse files Browse the repository at this point in the history
  • Loading branch information
juanandres-montero committed Mar 27, 2024
1 parent c21ba7f commit f3bc677
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions astro.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,7 @@ import netlify from "@astrojs/netlify";

export default defineConfig({
// used to generate images
site:
process.env.VERCEL_ENV === 'production'
? 'https://juanandres-montero.github.io'
: process.env.VERCEL_URL
? `https://${process.env.VERCEL_URL}/`
: 'https://localhost:3000/',
site: 'https://juanandres-montero.github.io',
base: 'OPCR',
trailingSlash: 'ignore',
integrations: [sitemap(), UnoCSS({ injectReset: true })],
Expand Down

0 comments on commit f3bc677

Please sign in to comment.