Skip to content

Commit

Permalink
fix: 🐛 config site URL
Browse files Browse the repository at this point in the history
  • Loading branch information
heldrida committed Jun 10, 2024
1 parent 5967abd commit b53b32e
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions astro.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import sitemap from "@astrojs/sitemap";
import settings from "./src/settings.json";
import { imagetools } from 'vite-imagetools';
import mdx from "@astrojs/mdx";

const configRemarkCalloutDirectives = {
callouts: {
note: {
Expand All @@ -32,8 +33,10 @@ const configRemarkCalloutDirectives = {
}
};

// Environment mode
const env = import.meta.env.MODE || 'staging';
// Environment
const env = import.meta.env.PROD
? 'production'
: 'staging';

// https://astro.build/config
export default defineConfig({
Expand Down

0 comments on commit b53b32e

Please sign in to comment.