Initial commit: SmoothSchedule multi-tenant scheduling platform
This commit includes: - Django backend with multi-tenancy (django-tenants) - React + TypeScript frontend with Vite - Platform administration API with role-based access control - Authentication system with token-based auth - Quick login dev tools for testing different user roles - CORS and CSRF configuration for local development - Docker development environment setup 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
22
frontend/vite.config.js
Normal file
22
frontend/vite.config.js
Normal file
@@ -0,0 +1,22 @@
|
||||
import { defineConfig } from 'vite'
|
||||
import react from '@vitejs/plugin-react'
|
||||
|
||||
// https://vite.dev/config/
|
||||
export default defineConfig({
|
||||
plugins: [react()],
|
||||
server: {
|
||||
host: '0.0.0.0', // Listen on all network interfaces
|
||||
port: 5173,
|
||||
hmr: {
|
||||
host: 'lvh.me',
|
||||
port: 5173,
|
||||
},
|
||||
// Add lvh.me and its subdomains to allowed hosts
|
||||
// This is necessary for local development with subdomains
|
||||
// https://vitejs.dev/config/server-options.html#server-allowedhosts
|
||||
allowedHosts: [
|
||||
'.lvh.me', // Allow all subdomains of lvh.me
|
||||
'lvh.me',
|
||||
],
|
||||
},
|
||||
})
|
||||
Reference in New Issue
Block a user