mirror of
https://github.com/Xevion/xevion.dev.git
synced 2025-12-06 03:17:08 -06:00
Continued reformat, switch all relative imports to alias as available
Switch to pure non-expression if in next.config.mjs
This commit is contained in:
@@ -6,7 +6,7 @@ import withPlaiceholder from "@plaiceholder/next";
|
||||
* Run `build` or `dev` with `SKIP_ENV_VALIDATION` to skip env validation.
|
||||
* This is especially useful for Docker builds.
|
||||
*/
|
||||
!process.env.SKIP_ENV_VALIDATION && (await import("./src/env/server.mjs"));
|
||||
if (!process.env.SKIP_ENV_VALIDATION) await import("./src/env/server.mjs");
|
||||
|
||||
/**
|
||||
*
|
||||
@@ -38,7 +38,7 @@ const v2_redirects = [
|
||||
return {
|
||||
source: url,
|
||||
destination: `https://undefined.behavio.rs/posts${url.slice(
|
||||
nthIndex(url, "/", 4)
|
||||
nthIndex(url, "/", 4),
|
||||
)}`,
|
||||
permanent: false,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user