7b997dc354
- Migrated from Bun/Hono to modern SvelteKit tech stack - Implemented complete authentication module (Azure MSAL + PocketBase) - Created 5 API endpoints for auth operations (config, graph token, validate, refresh, compare) - Built interactive Svelte dashboard with mobile optimization (iPhone 16) - Added Node.js adapter (@sveltejs/adapter-node) for production deployment - Integrated Tailwind CSS with responsive design - Fixed orchestrator to spawn Mode1Svelte with Node.js on port 3005 - Updated systemd service (job-info-test.service) to start orchestrator on port 3006 - Port configuration locked: 3005 = Mode1Svelte, 3006 = Orchestrator - Full TypeScript type safety throughout application - Services auto-managed by orchestrator with systemd integration
17 lines
380 B
JavaScript
17 lines
380 B
JavaScript
import adapter from '@sveltejs/adapter-node';
|
|
|
|
/** @type {import('@sveltejs/kit').Config} */
|
|
const config = {
|
|
kit: {
|
|
adapter: adapter(),
|
|
// LOCKED: Always use port 3005 for Mode1Svelte service
|
|
// 3006 = Orchestrator, 3005 = Mode service
|
|
// https://ji-test.ccllc.pro proxies to these ports
|
|
paths: {
|
|
base: process.env.BASE_PATH || ''
|
|
}
|
|
}
|
|
};
|
|
|
|
export default config;
|