Skip to content

Commit 2c0c89c

Browse files
committed
fix: Allow Playground to work in Serverless mode
1 parent 0ee5121 commit 2c0c89c

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

packages/cubejs-playground/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@
5252
"public",
5353
"build"
5454
],
55+
"homepage": ".",
5556
"proxy": "http://localhost:4000",
5657
"license": "MIT",
5758
"devDependencies": {

packages/cubejs-playground/src/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import DashboardPage from './DashboardPage';
99
import App from './App';
1010
import { page } from './events';
1111

12-
const history = createHashHistory({ basename: process.env.PUBLIC_URL });
12+
const history = createHashHistory();
1313
history.listen((location) => {
1414
page(location);
1515
});

0 commit comments

Comments
 (0)