fix: 🐛 wrong base url during build time

This commit is contained in:
Sebin Nyshkim 2025-07-08 00:07:15 +02:00
parent 0bb53d9356
commit c159d111bb

View file

@ -19,7 +19,7 @@ const IMAGE_TRANSFORM_OPTS = {
} }
}; };
const BASE = env.ELEVENTY_PRODUCTION ? 'https://ref.sebin-nyshkim.net' : 'http://localhost:8080'; const BASE = env.ELEVENTY_PRODUCTION ? 'https://ref-beta.sebin-nyshkim.net' : 'http://localhost:8080';
// source: https://notes.jays.net/blog/11ty/ // source: https://notes.jays.net/blog/11ty/
async function getImage(type, src, key) { async function getImage(type, src, key) {