16 lines
260 B
JavaScript
16 lines
260 B
JavaScript
import express from 'express'
|
|
|
|
const HOST = '0.0.0.0'
|
|
const PORT = '17057'
|
|
const PATH = "./dist";
|
|
|
|
|
|
const app = express();
|
|
|
|
app.use(express.static(PATH));
|
|
|
|
app.listen(PORT, HOST, function(){
|
|
console.log('Example app listening on port ' + PORT + '.');
|
|
});
|
|
|