Refactor deployment script to handle symlinking of public data conditionally based on git tracking status, improving error handling for uncommitted changes. Update PM2 configuration to directly start the Node server for Nuxt 4 production builds in both harheimertc.config.cjs and harheimertc.simple.cjs. Modify user ID handling in registration options to use Uint8Array for compatibility with @simplewebauthn/server.
Some checks failed
Code Analysis (JS/Vue) / analyze (push) Failing after 43s

This commit is contained in:
Torsten Schulz (local)
2026-01-07 18:06:09 +01:00
parent 4864c80da3
commit 946e5fadb0
4 changed files with 32 additions and 14 deletions

View File

@@ -9,8 +9,9 @@ try {
module.exports = {
apps: [{
name: 'harheimertc',
script: 'npm',
args: 'run start',
// Nuxt 4 production build: direkt den Node-Server starten (kein "preview mode")
script: 'node',
args: '.output/server/index.mjs',
cwd: '/var/www/harheimertc',
instances: 1,
autorestart: true,