Skip to content

Commit

Permalink
fix: Gray screen for Playground on version update
Browse files Browse the repository at this point in the history
  • Loading branch information
paveltiunov committed Jun 26, 2019
1 parent f519c7e commit b08333f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/cubejs-server-core/core/DevServer.js
Original file line number Diff line number Diff line change
Expand Up @@ -232,6 +232,7 @@ class DevServer {

app.use(serveStatic(path.join(__dirname, '../playground'), {
lastModified: false,
etag: false,
setHeaders: (res, url) => {
if (url.indexOf('/index.html') !== -1) {
res.setHeader('Cache-Control', 'no-cache');
Expand Down

0 comments on commit b08333f

Please sign in to comment.