mirror of
https://github.com/tachiyomiorg/website.git
synced 2024-10-31 23:15:05 +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 }) => {
|
||||
process.env = { ...process.env, ...loadEnv(mode, process.cwd()) };
|
||||
|
||||
const baseUrl = process.env.VITE_HOSTNAME || "https://kodo.moe"
|
||||
const basePath = process.env.VITE_BASE || "/"
|
||||
const baseUrl = process.env.VITE_HOSTNAME || "https://kodo.moe";
|
||||
const basePath = process.env.VITE_BASE || "/";
|
||||
|
||||
const hostname: string = baseUrl + basePath.replace(/\/$/, "")
|
||||
const hostname: string = baseUrl + basePath.replace(/\/$/, "");
|
||||
|
||||
return defineConfig({
|
||||
appearance: "dark",
|
||||
|
Loading…
Reference in New Issue
Block a user