Toggle navigation
Toggle navigation
This project
Loading...
Sign in
teamPARK
/
holiday-counter-recommend-activity
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
박지환
2022-05-27 04:38:49 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
a841661791da86ff1ef13c7478c27072be1f4798
a8416617
1 parent
71b1284e
Reconnect ejs and css
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
server.js
server.js
View file @
a841661
...
...
@@ -4,6 +4,7 @@ const request = require("request");
const
convert
=
require
(
"xml-js"
);
const
fs
=
require
(
"fs"
);
const
xml2js
=
require
(
"xml2js"
);
const
static
=
require
(
"serve-static"
);
// Modify the values as needed
var
year
=
"2022"
;
...
...
@@ -28,6 +29,7 @@ var tempArr = [];
// To run EJS engine
app
.
set
(
"views"
,
__dirname
+
"/views"
);
app
.
set
(
"view engine"
,
"ejs"
);
app
.
use
(
static
(
__dirname
));
// To get today date by using Date
function
getTodayDate
()
{
...
...
Please
register
or
login
to post a comment