Skip to content

Instantly share code, notes, and snippets.

Avatar

Mathias Conradt mathiasconradt

View GitHub Profile
@sogko
sogko / app.js
Last active Nov 8, 2022
gulp + expressjs + nodemon + browser-sync
View app.js
'use strict';
// simple express server
var express = require('express');
var app = express();
var router = express.Router();
app.use(express.static('public'));
app.get('/', function(req, res) {
res.sendfile('./public/index.html');