- 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.
15 lines
265 B
TypeScript
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",
|
|
},
|
|
},
|
|
},
|
|
});
|