11 lines
272 B
JavaScript
11 lines
272 B
JavaScript
const express = require('express');
|
|
const path = require('path');
|
|
const app = express();
|
|
|
|
app.use(express.static(__dirname));
|
|
|
|
const PORT = process.env.PORT || 3000;
|
|
app.listen(PORT, () => {
|
|
console.log(`WebGIS Chloropleth static server running on port ${PORT}`);
|
|
});
|