dashboard page with cards to fill in and add asset and new plan button

This commit is contained in:
knighthawk4227 committed 2025-05-06 15:08:04 -07:00
1 parent 4bb9a01524
commit 7b9b18f030
4 files changed
+101 -229

No files matched your search

+2 -2
View File
@@ -3,7 +3,7 @@ const MongoStore = require("connect-mongo");
const session = require("express-session");
const express = require('express');
const path = require('path');
const joi = require('joi');
const joi = require('joi');
require('dotenv').config();
@@ -44,7 +44,7 @@ async function initDatabase() {
app.get('/', (req, res) => {
if (!req.session.errMessage) req.session.errMessage = "";
res.render('index');
res.render('dashboard');
return res.status(status.Ok);
});