Refactor SPA: extract CSS/JS to modular files, add static file serving, fix timestamp parsing

This commit is contained in:
2025-12-24 00:11:09 +10:00
parent 0a29c2d0c1
commit 1a257931e8
21 changed files with 2471 additions and 2158 deletions
+3
View File
@@ -30,6 +30,9 @@ if (enableHttpsRedirection)
// Enable routing (required for CORS to work with controllers)
app.UseRouting();
// Static files (for wwwroot assets like CSS, JS, images)
app.UseStaticFiles();
// CORS middleware - MUST be after UseRouting but before MapControllers
app.UseCors();