Skip to content

Commit

Permalink
Init server.js
Browse files Browse the repository at this point in the history
  • Loading branch information
HeikoTheissen committed Sep 27, 2024
1 parent 8fd573d commit 30bf5b8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/server.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@ liveReloadServer.watch(path.join(__dirname, ".."));
const connectLivereload = require("connect-livereload");
const statics = { images: {} };

iterator(function (srcname, name, variant, meta) {
new Number(`${__dirname}/../${srcname}`, variant, meta).read();
});

const app = express()
.enable("strict routing")
.use(connectLivereload())
Expand Down

0 comments on commit 30bf5b8

Please sign in to comment.