chore: update oxlint / oxfmt settings
This commit is contained in:
@@ -3,14 +3,14 @@ import { version } from "./package.json";
|
||||
const siteUrl = process.env.NUXT_SITE_URL;
|
||||
if (!siteUrl) {
|
||||
throw new Error(
|
||||
`NUXT_SITE_URL is not defined. Make sure to set it in your build environment variables.`
|
||||
`NUXT_SITE_URL is not defined. Make sure to set it in your build environment variables.`,
|
||||
);
|
||||
}
|
||||
|
||||
const wpUrl = process.env.NUXT_WP_URL;
|
||||
if (!wpUrl) {
|
||||
throw new Error(
|
||||
`NUXT_WP_URL is not defined. Make sure to set it in your build environment variables.`
|
||||
`NUXT_WP_URL is not defined. Make sure to set it in your build environment variables.`,
|
||||
);
|
||||
}
|
||||
const wpDomain = new URL(wpUrl).hostname;
|
||||
|
||||
Reference in New Issue
Block a user