Initial commit from saas-meta
This commit is contained in:
12
frontend/serv.js
Normal file
12
frontend/serv.js
Normal file
@@ -0,0 +1,12 @@
|
||||
import http from 'http';
|
||||
import handler from 'serve-handler';
|
||||
|
||||
const server = http.createServer((request, response) => {
|
||||
return handler(request, response, {
|
||||
public: '.'
|
||||
});
|
||||
});
|
||||
|
||||
server.listen(5001, () => {
|
||||
console.log('Frontend is running at http://localhost:5001');
|
||||
});
|
||||
Reference in New Issue
Block a user