Skip to content

Commit

Permalink
fix: Allow Playground to work in Serverless mode
Browse files Browse the repository at this point in the history
  • Loading branch information
paveltiunov committed Apr 15, 2019
1 parent 0ee5121 commit 2c0c89c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions packages/cubejs-playground/package.json
Expand Up @@ -52,6 +52,7 @@
"public",
"build"
],
"homepage": ".",
"proxy": "http://localhost:4000",
"license": "MIT",
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/cubejs-playground/src/index.js
Expand Up @@ -9,7 +9,7 @@ import DashboardPage from './DashboardPage';
import App from './App';
import { page } from './events';

const history = createHashHistory({ basename: process.env.PUBLIC_URL });
const history = createHashHistory();
history.listen((location) => {
page(location);
});
Expand Down

0 comments on commit 2c0c89c

Please sign in to comment.