added test style
This commit is contained in:
parent
32ee4da580
commit
26c492b4ee
4
public/css/style.css
Normal file
4
public/css/style.css
Normal file
|
@ -0,0 +1,4 @@
|
|||
body {
|
||||
background-color: #444444;
|
||||
color: #f70b0b;
|
||||
}
|
|
@ -3,11 +3,14 @@ const app = express();
|
|||
const bodyParser = require('body-parser');
|
||||
const res = require('express/lib/response');
|
||||
const MongoClient = require('mongodb').MongoClient
|
||||
const mongoDb = 'mongodb://mymongodb'
|
||||
const mongoDb = 'mongodb://192.168.0.252:27017'
|
||||
|
||||
/* View Engine */
|
||||
app.set('view engine', 'ejs');
|
||||
|
||||
/* Style */
|
||||
app.use(express.static(__dirname + '/public'));
|
||||
|
||||
|
||||
/*Mongo Connection*/
|
||||
MongoClient.connect(mongoDb, (err, client) => {
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
<html lang="en">
|
||||
|
||||
<head>
|
||||
<link href="/css/style.css" rel="stylesheet" type="text/css">
|
||||
<meta charset="UTF-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
|
|
Loading…
Reference in New Issue
Block a user