mirror of
https://github.com/aurora-dot/pastel.codes.git
synced 2024-11-22 00:02:24 +00:00
Update app.js
This commit is contained in:
parent
a644bdde76
commit
cee74f4474
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
|
||||
|
Loading…
Reference in New Issue
Block a user