Showing
3 changed files
with
4 additions
and
3 deletions
... | @@ -19,6 +19,7 @@ app.use(express.json()); | ... | @@ -19,6 +19,7 @@ app.use(express.json()); |
19 | app.use(express.urlencoded({ extended: false })); | 19 | app.use(express.urlencoded({ extended: false })); |
20 | app.use(cookieParser()); | 20 | app.use(cookieParser()); |
21 | app.use(express.static(path.join(__dirname, 'public'))); | 21 | app.use(express.static(path.join(__dirname, 'public'))); |
22 | +app.use(express.static(path.join(__dirname, 'code'))); | ||
22 | 23 | ||
23 | app.use('/', indexRouter); | 24 | app.use('/', indexRouter); |
24 | app.use('/users', usersRouter); | 25 | app.use('/users', usersRouter); | ... | ... |
This diff is collapsed. Click to expand it.
... | @@ -8,9 +8,9 @@ | ... | @@ -8,9 +8,9 @@ |
8 | <style type="text/css"></style> | 8 | <style type="text/css"></style> |
9 | </head> | 9 | </head> |
10 | <body> | 10 | <body> |
11 | - <script src="../code/highcharts.js"></script> | 11 | + <script src="highcharts.js"></script> |
12 | - <script src="../code/modules/exporting.js"></script> | 12 | + <script src="modules/exporting.js"></script> |
13 | - <script src="../code/modules/export-data.js"></script> | 13 | + <script src="modules/export-data.js"></script> |
14 | 14 | ||
15 | <div | 15 | <div |
16 | id="container1" | 16 | id="container1" | ... | ... |
-
Please register or login to post a comment