dashboard page with cards to fill in and add asset and new plan button
This commit is contained in:
1 parent
4bb9a01524
commit
7b9b18f030
4 files changed
+101
-229
No files matched your search
@@ -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);
|
||||
});
|
||||
|
||||
|
||||
Reference in new issue
Block a user