Files
linearvoid/frontend/vite.config.ts
T
zwitschi 6b494a34fe
CD / deploy (push) Failing after 27s
CI / test (push) Successful in 1m54s
CI / docker (push) Canceled after 0s
CI / release (push) Canceled after 0s
feat: add admin login page and authentication API
- Created a new login page for admin access at frontend/admin/login/index.html.
- Implemented form submission with error handling for login credentials.
- Updated frontend/index.html to mute the video player and removed unnecessary Alpine.js data binding.
- Enhanced manifest URL resolution in frontend/src/main.ts to include cache-busting parameters.
- Modified vite.config.ts to include the new admin login page in the build process.
- Updated nginx.conf to handle admin login routing, authentication, and API proxying for admin actions.
2026-08-03 17:19:05 +02:00

15 lines
265 B
TypeScript

import { defineConfig } from "vite";
export default defineConfig({
envDir: "..",
build: {
rollupOptions: {
input: {
main: "index.html",
admin: "admin/index.html",
adminLogin: "admin/login/index.html",
},
},
},
});