mirror of
https://github.com/TeamPiped/Piped.git
synced 2024-08-14 23:57:27 +00:00
Set vite base URL from env var
This commit is contained in:
parent
1a530dddf0
commit
c3bc24ea62
2 changed files with 2 additions and 0 deletions
1
.env
1
.env
|
@ -1,3 +1,4 @@
|
|||
VITE_PIPED_API=https://pipedapi.kavin.rocks
|
||||
VITE_PIPED_PROXY=https://pipedproxy.kavin.rocks
|
||||
VITE_PIPED_INSTANCES=https://piped-instances.kavin.rocks/
|
||||
VITE_BASE_URL=/
|
||||
|
|
|
@ -9,6 +9,7 @@ import eslintPlugin from "vite-plugin-eslint";
|
|||
|
||||
// https://vitejs.dev/config/
|
||||
export default defineConfig({
|
||||
base: process.env.VITE_BASE_URL,
|
||||
plugins: [
|
||||
vue(),
|
||||
Unocss(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue