diff --git a/server/routes.js b/server/routes.js index 706b2343a..cdced3be9 100644 --- a/server/routes.js +++ b/server/routes.js @@ -35,10 +35,6 @@ if (process.env.NODE_ENV === 'production') { }); router.get('*', async (ctx) => { - ctx.set({ - 'Cache-Control': `max-age=${24*60*60}`, - }); - const stats = await sendfile(ctx, path.join(__dirname, '../dist/index.html')); if (!ctx.status) ctx.throw(httpErrors.NotFound()); }); diff --git a/src/scenes/Dashboard/Dashboard.js b/src/scenes/Dashboard/Dashboard.js index afc05d6ee..e8d801019 100644 --- a/src/scenes/Dashboard/Dashboard.js +++ b/src/scenes/Dashboard/Dashboard.js @@ -20,7 +20,7 @@ class Dashboard extends React.Component { } componentDidMount = () => { - // store.fetchAtlases(this.props.user.team.id); + store.fetchAtlases(this.props.user.team.id); } state = { @@ -49,27 +49,25 @@ class Dashboard extends React.Component { ); - return (
); + return ( +