Fix version display for fresh installs

The server.js template in file-creator-module.sh had a hardcoded version of 1.2.0,
causing fresh installations to display the wrong version number on the dashboard.
Updated to display 2.0.6.

🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
MasterDraco 2025-03-05 10:26:50 +00:00
parent 4196914fbd
commit e7076859b7

View File

@ -269,7 +269,7 @@ app.use(bodyParser.urlencoded({ extended: true, limit: '50mb' }));
app.get('/api/status', (req, res) => { app.get('/api/status', (req, res) => {
res.json({ res.json({
status: 'running', status: 'running',
version: '1.2.0', version: '2.0.6',
transmissionConnected: !!transmissionClient, transmissionConnected: !!transmissionClient,
postProcessorActive: postProcessor && postProcessor.processingIntervalId !== null, postProcessorActive: postProcessor && postProcessor.processingIntervalId !== null,
rssFeedManagerActive: rssFeedManager && rssFeedManager.updateIntervalId !== null, rssFeedManagerActive: rssFeedManager && rssFeedManager.updateIntervalId !== null,