chore: sync working tree before switching branches
This commit is contained in:
parent
138f56d100
commit
774bfb5adf
1 changed files with 1 additions and 8 deletions
|
|
@ -333,14 +333,7 @@ app.use(express.json());
|
||||||
app.use(cors());
|
app.use(cors());
|
||||||
|
|
||||||
app.get('/api/health', (_req: Request, res: Response) => {
|
app.get('/api/health', (_req: Request, res: Response) => {
|
||||||
res.json({
|
res.json({ ok: true, totalPlays: persistedState.totalPlays ?? 0 });
|
||||||
ok: true,
|
|
||||||
totalPlays: persistedState.totalPlays ?? 0,
|
|
||||||
buildInfo: {
|
|
||||||
version: process.env.VITE_APP_VERSION || '1.0.0',
|
|
||||||
channel: process.env.VITE_BUILD_CHANNEL || 'stable'
|
|
||||||
}
|
|
||||||
});
|
|
||||||
});
|
});
|
||||||
|
|
||||||
// --- Admin Auth ---
|
// --- Admin Auth ---
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue