mirror of
https://github.com/aurora-dot/pastel.codes.git
synced 2024-12-22 06:42:20 +00:00
commit
66585f8b78
4
app.js
4
app.js
@ -3,7 +3,7 @@ var express = require('express');
|
||||
var path = require('path');
|
||||
var cookieParser = require('cookie-parser');
|
||||
var mLogger = require('morgan');
|
||||
var sass = require('node-sass');
|
||||
var sassMiddleware = require('node-sass-middleware');
|
||||
var logger = require('./config/winston');
|
||||
const helmet = require("helmet");
|
||||
|
||||
@ -45,7 +45,7 @@ app.use(
|
||||
app.use(express.json());
|
||||
app.use(express.urlencoded({ extended: false }));
|
||||
app.use(cookieParser());
|
||||
app.use(sass.middleware({
|
||||
app.use(sassMiddleware({
|
||||
src: path.join(__dirname, 'public'),
|
||||
dest: path.join(__dirname, 'public'),
|
||||
indentedSyntax: true, // true = .sass and false = .scss
|
||||
|
3344
package-lock.json
generated
3344
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -18,7 +18,7 @@
|
||||
"helmet": "^4.6.0",
|
||||
"http-errors": "^1.8.0",
|
||||
"morgan": "^1.10.0",
|
||||
"node-sass": "^6.0.0",
|
||||
"node-sass-middleware": "^0.11.0",
|
||||
"nodemailer": "^6.6.0",
|
||||
"pug": "^3.0.2",
|
||||
"winston": "^3.3.3"
|
||||
|
@ -4,7 +4,7 @@ html
|
||||
meta(http-equiv="content-type" content="text/html; charset=UTF-8")
|
||||
meta(name="viewport" content="width=device-width, initial-scale=1")
|
||||
|
||||
title ESTR. // #{title}
|
||||
title EEEE. // #{title}
|
||||
meta(name="description" content=description)
|
||||
|
||||
link(rel='icon' type='image/png' sizes='32x32' href='/images/favicon-32x32.png')
|
||||
@ -42,7 +42,7 @@ html
|
||||
p © 2020 |
|
||||
|
|
||||
|
|
||||
a(href="/") ESTR.
|
||||
a(href="/") EEEE.
|
||||
|
||||
script(src="/javascript/jquery-3.5.1.min.js")
|
||||
script(src="/javascript/bootstrap.js")
|
||||
|
Loading…
Reference in New Issue
Block a user