You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
338 B
13 lines
338 B
/*eslint no-console:0 */ |
|
'use strict'; |
|
const express = require('express'); |
|
const open = require('open'); |
|
const fs=require("fs"); |
|
const app = express(); |
|
const port = 3000; |
|
|
|
app.use(express.static("./")); |
|
app.listen(port, function() { |
|
console.log("server start"); |
|
open('http://localhost:' + port + '/examples/useContext.html'); |
|
});
|
|
|