Skip to content

Commit

Permalink
Merge branch 'staging' into l10n_staging
Browse files Browse the repository at this point in the history
  • Loading branch information
imolorhe committed Jun 27, 2019
2 parents 1c75a90 + d916ff7 commit 36d6861
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/altair-express-middleware/index.ts
Expand Up @@ -15,6 +15,7 @@ export const altairExpress = (opts: RenderOptions): express.Express => {
return res.send(renderAltair(opts));
});
app.get('/initial_options.js', (req, res) => {
res.set('Content-Type', 'text/javascript');
return res.send(renderInitialOptions(opts));
});
app.use(express.static(getDistDirectory()));
Expand Down

0 comments on commit 36d6861

Please sign in to comment.