altair-express-middleware
Advanced tools
Comparing version 1.0.0 to 1.0.1
@@ -7,5 +7,5 @@ 'use strict'; | ||
var app = express(); | ||
app.use(express.static(path.join(__dirname, 'dist'))); | ||
app.use(express.static(path.join(__dirname, '../dist'))); | ||
app.get('*', function (req, res) { | ||
return res.sendFile(path.join(__dirname, 'dist/index.html')); | ||
return res.sendFile(path.join(__dirname, '../dist/index.html')); | ||
}); | ||
@@ -12,0 +12,0 @@ return app; |
@@ -10,6 +10,6 @@ 'use strict'; | ||
app.use(express.static(path.join(__dirname, 'dist'))); | ||
app.use(express.static(path.join(__dirname, '../dist'))); | ||
app.get('*', (req, res) => { | ||
return res.sendFile(path.join(__dirname, 'dist/index.html')); | ||
return res.sendFile(path.join(__dirname, '../dist/index.html')); | ||
}); | ||
@@ -16,0 +16,0 @@ |
{ | ||
"name": "altair-express-middleware", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "Express middleware for altair graphql client", | ||
@@ -5,0 +5,0 @@ "main": "./build/index.js", |
13373399