mirror of
https://github.com/Dictionarry-Hub/profilarr.git
synced 2026-01-27 21:20:53 +01:00
- Username/password login with bcrypt and session cookies - API key authentication (X-Api-Key header or ?apikey query param) - AUTH env var modes: on, local, off, oidc - Generic OIDC support for external providers - Session metadata tracking (IP, browser, device) - Security settings page (password, sessions, API key) - Login analysis with typo and attack detection - Auth event logging throughout
23 lines
586 B
TypeScript
23 lines
586 B
TypeScript
import tailwindcss from '@tailwindcss/vite';
|
|
import { sveltekit } from '@sveltejs/kit/vite';
|
|
import { defineConfig } from 'vite';
|
|
import { readFileSync } from 'node:fs';
|
|
import deno from '@deno/vite-plugin';
|
|
|
|
const packageJson = JSON.parse(readFileSync('./package.json', 'utf-8'));
|
|
|
|
export default defineConfig({
|
|
plugins: [deno(), tailwindcss(), sveltekit()],
|
|
server: {
|
|
port: 6969,
|
|
host: true,
|
|
watch: {
|
|
// Ignore temporary files created by editors
|
|
ignored: ['**/*.tmp.*', '**/*~', '**/.#*']
|
|
}
|
|
},
|
|
define: {
|
|
__APP_VERSION__: JSON.stringify(packageJson.version)
|
|
}
|
|
});
|