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
39 lines
1.1 KiB
JavaScript
39 lines
1.1 KiB
JavaScript
import adapter from 'sveltekit-adapter-deno';
|
|
import { vitePreprocess } from '@sveltejs/vite-plugin-svelte';
|
|
|
|
/** @type {import('@sveltejs/kit').Config} */
|
|
const config = {
|
|
preprocess: vitePreprocess(),
|
|
|
|
kit: {
|
|
adapter: adapter({
|
|
usage: 'deno-compile',
|
|
out: 'dist/build'
|
|
}),
|
|
outDir: 'dist/.svelte-kit',
|
|
alias: {
|
|
$api: './src/lib/api',
|
|
$config: './src/lib/server/utils/config/config.ts',
|
|
$logger: './src/lib/server/utils/logger',
|
|
$shared: './src/lib/shared',
|
|
$stores: './src/lib/client/stores',
|
|
$ui: './src/lib/client/ui',
|
|
$assets: './src/lib/client/assets',
|
|
$alerts: './src/lib/client/alerts',
|
|
$server: './src/server',
|
|
$db: './src/lib/server/db',
|
|
$jobs: './src/lib/server/jobs',
|
|
$pcd: './src/lib/server/pcd',
|
|
$arr: './src/lib/server/utils/arr',
|
|
$http: './src/lib/server/utils/http',
|
|
$utils: './src/lib/server/utils',
|
|
$notifications: './src/lib/server/notifications',
|
|
$cache: './src/lib/server/utils/cache',
|
|
$sync: './src/lib/server/sync',
|
|
$auth: './src/lib/server/utils/auth'
|
|
}
|
|
}
|
|
};
|
|
|
|
export default config;
|