mirror of
https://github.com/aurora-dot/pastel.codes.git
synced 2024-11-25 01:22:19 +00:00
Update app.js
This commit is contained in:
parent
24b057dfda
commit
3304a28c39
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 sassMiddleware = require('node-sass-middleware');
|
||||
var sass = require('node-sass');
|
||||
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(sassMiddleware({
|
||||
app.use(sass.middleware({
|
||||
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