Skip to content

Commit

Permalink
chore: fix example
Browse files Browse the repository at this point in the history
  • Loading branch information
thetutlage committed Sep 14, 2019
1 parent 9417b60 commit 3feccca
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/index.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// @ts-check

const Edge = require('..')
const { Edge } = require('..')
const { join } = require('path')
const http = require('http')

Expand All @@ -9,4 +9,4 @@ const edge = new Edge()
http.createServer((req, res) => {
edge.mount(join(__dirname, './views'))
res.end(edge.render('user', { title: 'Hello' }))
}).listen(3000)
}).listen(3000)

0 comments on commit 3feccca

Please sign in to comment.