7d8fd9f251
- Created Mode2Svelte as a copy of Mode1Svelte - Updated branding (title, description) to distinguish from Mode1Svelte - Added Mode2Svelte support to orchestrator - Configured orchestrator to spawn Mode2Svelte with Node.js adapter - Set Mode2Svelte as active mode in activeMode.txt - Built production bundle for Mode2Svelte - Both Mode1Svelte and Mode2Svelte now managed by orchestrator on port 3005 - Orchestrator controls which mode runs via activeMode.txt configuration
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;
|