feat(lst): added in basic authentication

This commit is contained in:
2025-02-17 20:01:04 -06:00
parent ca27264bb0
commit 5f7a3dd182
25 changed files with 810 additions and 154 deletions

View File

@@ -1,23 +1,23 @@
import { defineConfig } from "vite";
import {defineConfig} from "vite";
import react from "@vitejs/plugin-react-swc";
import tailwindcss from "@tailwindcss/vite";
import path from "path";
// https://vite.dev/config/
export default defineConfig({
plugins: [react(), tailwindcss()],
build: {
outDir: path.resolve(__dirname, "../../dist/frontend/dist"),
emptyOutDir: true,
},
resolve: {
alias: {
"@": path.resolve(__dirname, "./src"),
plugins: [react(), tailwindcss()],
// build: {
// outDir: path.resolve(__dirname, "../../dist/frontend/dist"),
// emptyOutDir: true,
// },
resolve: {
alias: {
"@": path.resolve(__dirname, "./src"),
},
},
},
server: {
proxy: {
"/api": { target: "http://localhost:4000", changeOrigin: true },
server: {
proxy: {
"/api": {target: "http://localhost:4000", changeOrigin: true},
},
},
},
});