feat: add stable OIDC authentication
This commit is contained in:
@@ -1,10 +1,12 @@
|
||||
import tailwindcss from '@tailwindcss/vite';
|
||||
import react from '@vitejs/plugin-react';
|
||||
import { defineConfig } from 'vite';
|
||||
import { defineConfig, loadEnv } from 'vite';
|
||||
|
||||
export default defineConfig({
|
||||
plugins: [tailwindcss(), react()],
|
||||
server: {
|
||||
port: 5178,
|
||||
},
|
||||
export default defineConfig(({ mode }) => {
|
||||
const env = loadEnv(mode, process.cwd(), 'VITE_');
|
||||
return {
|
||||
base: env.VITE_BASE_PATH || '/',
|
||||
plugins: [tailwindcss(), react()],
|
||||
server: { port: 5178 },
|
||||
};
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user