mirror of
https://codeberg.org/keyoxide/keyoxide-web.git
synced 2025-01-10 07:19:27 -07:00
Remove unused dependencies
This commit is contained in:
parent
faac7594f8
commit
a90ca40505
1 changed files with 0 additions and 5 deletions
5
index.js
5
index.js
|
@ -28,7 +28,6 @@ if any, to sign a "copyright disclaimer" for the program, if necessary. For
|
|||
more information on this, and how to apply and follow the GNU AGPL, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
const express = require('express');
|
||||
const md = require('markdown-it')({typographer: true});
|
||||
const fs = require('fs');
|
||||
const app = express();
|
||||
const env = {};
|
||||
|
@ -37,10 +36,6 @@ require('dotenv').config();
|
|||
|
||||
let packageData = JSON.parse(fs.readFileSync('package.json'));
|
||||
|
||||
md.use(require("markdown-it-anchor"));
|
||||
md.use(require("markdown-it-table-of-contents"), { "includeLevel": [2, 3], "listType": "ol" });
|
||||
md.use(require('markdown-it-title'));
|
||||
|
||||
app.set('env', process.env.NODE_ENV || "production");
|
||||
app.set('view engine', 'pug');
|
||||
app.set('port', process.env.PORT || 3000);
|
||||
|
|
Loading…
Reference in a new issue