- New auto-interaction.ts: detects canSit/canLay/canStand from classname/name keywords - Maps keywords to interaction types (bench, chair, bed, table, etc.) - Returns clickLimit and interactionModesCount for proper click/interaction limits - Nitro editor: added auto-detect button with preview of detected settings - furni-import.ts: auto-sets interaction_modes_count during import - upload-import.ts: auto-detects for direct insert and SQL migrations - clone-import.ts: auto-detects when cloning from other hotels
19 lines
395 B
JavaScript
19 lines
395 B
JavaScript
module.exports = {
|
|
apps: [
|
|
{
|
|
name: 'epic-next-app',
|
|
script: 'node_modules/next/dist/bin/next',
|
|
args: 'start',
|
|
cwd: '/var/www/atom-nexst',
|
|
instances: 1,
|
|
autorestart: true,
|
|
watch: false,
|
|
max_memory_restart: '1G',
|
|
node_args: '--max-old-space-size=1024',
|
|
env: {
|
|
NODE_ENV: 'production',
|
|
PORT: 3002
|
|
}
|
|
}
|
|
]
|
|
}; |