Change server access log to a more minimal variant
This commit is contained in:
parent
611608869c
commit
284320f618
@ -27,6 +27,7 @@
|
|||||||
<script src="/app/search.ctrl.js"></script>
|
<script src="/app/search.ctrl.js"></script>
|
||||||
<script src="/app/routes.js"></script>
|
<script src="/app/routes.js"></script>
|
||||||
<script src="/app/modal.srv.js"></script>
|
<script src="/app/modal.srv.js"></script>
|
||||||
|
<script src="/app/contacts.srv.js"></script>
|
||||||
|
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
|
@ -6,7 +6,7 @@ const morgan = require('morgan');
|
|||||||
|
|
||||||
const app = express();
|
const app = express();
|
||||||
|
|
||||||
app.use(morgan('combined'));
|
app.use(morgan('dev'));
|
||||||
app.set('etag', false);
|
app.set('etag', false);
|
||||||
app.use(bodyParser.json()); // before request handlers
|
app.use(bodyParser.json()); // before request handlers
|
||||||
app.use(express.static('./'));
|
app.use(express.static('./'));
|
||||||
|
Loading…
Reference in New Issue
Block a user