first commit

This commit is contained in:
2025-11-10 00:14:49 +03:00
commit 6392533387
58 changed files with 7707 additions and 0 deletions

15
frontend/vite.config.js Normal file
View File

@@ -0,0 +1,15 @@
/* eslint-env node */
import { defineConfig } from 'vite';
import react from '@vitejs/plugin-react';
const allowedHosts = (process.env.VITE_ALLOWED_HOSTS || '')
.split(',')
.map((host) => host.trim())
.filter(Boolean);
export default defineConfig({
plugins: [react()],
server: {
allowedHosts: ['localhost', '127.0.0.1', 'booklibra.wisecolt-panda.net', ...allowedHosts]
}
});