mirror of
https://github.com/bluxmit/alnoda-workspaces.git
synced 2024-07-05 22:50:22 +12:00
17 lines
438 B
JavaScript
17 lines
438 B
JavaScript
|
/**
|
||
|
*
|
||
|
*/
|
||
|
|
||
|
var express = require('express');
|
||
|
var app = express();
|
||
|
|
||
|
app.use(express.static('./')); /* this line tells Express to use the public folder as our static folder from which we can serve static files*/
|
||
|
|
||
|
app.get('/', function (req, res) {
|
||
|
res.sendFile('index.html!');
|
||
|
});
|
||
|
|
||
|
app.listen(8029, function () {
|
||
|
console.log("DBDesigner listening on port 8029!");
|
||
|
console.log("Navigate your browser to 'http://localhost:8029'");
|
||
|
});
|