mirror of
https://github.com/tachiyomiorg/website.git
synced 2024-12-21 07:31:58 +01:00
Lint index config
This commit is contained in:
parent
4b1f7b27fc
commit
24f3f32c3b
@ -12,10 +12,10 @@ import generateFeed from "./hooks/generateFeed";
|
|||||||
export default ({ mode }) => {
|
export default ({ mode }) => {
|
||||||
process.env = { ...process.env, ...loadEnv(mode, process.cwd()) };
|
process.env = { ...process.env, ...loadEnv(mode, process.cwd()) };
|
||||||
|
|
||||||
const baseUrl = process.env.VITE_HOSTNAME || "https://kodo.moe"
|
const baseUrl = process.env.VITE_HOSTNAME || "https://kodo.moe";
|
||||||
const basePath = process.env.VITE_BASE || "/"
|
const basePath = process.env.VITE_BASE || "/";
|
||||||
|
|
||||||
const hostname: string = baseUrl + basePath.replace(/\/$/, "")
|
const hostname: string = baseUrl + basePath.replace(/\/$/, "");
|
||||||
|
|
||||||
return defineConfig({
|
return defineConfig({
|
||||||
appearance: "dark",
|
appearance: "dark",
|
||||||
|
Loading…
Reference in New Issue
Block a user