mirror of
https://github.com/ever-co/ever-gauzy.git
synced 2026-10-02 01:54:50 +08:00
10 lines
278 B
JavaScript
10 lines
278 B
JavaScript
var connect = require('connect');
|
|
var path = require('path');
|
|
var serveStatic = require('serve-static');
|
|
const port = process.env.WEB_PORT || 4250;
|
|
|
|
connect()
|
|
.use(serveStatic(path.join(__dirname, '../../dist/apps/gauzy')))
|
|
.listen(port);
|
|
console.log('listening on ' + port);
|