Added Edit Item link
This commit is contained in:
5
index.js
5
index.js
@@ -6,6 +6,7 @@ import ExACT_login from './tests/ExACT_login.js';
|
||||
import ExACT_dashboardMyContent from './tests/ExACT_DashboardMyContent.js';
|
||||
//Pages
|
||||
import ExACT_contentPage from './tests/ExACT_contentPage.js';
|
||||
import ExACT_editItem from './tests/ExACT_editItem.js';
|
||||
|
||||
const app = express();
|
||||
|
||||
@@ -26,6 +27,8 @@ app.get('/', (req, res) => {
|
||||
|
||||
<h1 style="text-align:center; color:#055a8c; font-size:20px; ">Pages</h1>
|
||||
<div style="padding:3px;"><strong><a href='/ExACT_contentPage' target='_blank'>Content Page</a></strong></div>
|
||||
|
||||
<div style="padding:3px;"><strong><a href='/ExACT_editItem' target='_blank'>Edit Item</a></strong></div>
|
||||
<br>
|
||||
</div>
|
||||
`);
|
||||
@@ -41,6 +44,8 @@ app.get('/ExACT_login', ExACT_login);
|
||||
//Pages
|
||||
//Content
|
||||
app.get('/ExACT_contentPage', ExACT_contentPage);
|
||||
//Edit Item
|
||||
app.get('/ExACT_editItem', ExACT_editItem);
|
||||
|
||||
app.listen(8000, () => {
|
||||
console.log('Server is running on port 8000');
|
||||
|
||||
Reference in New Issue
Block a user