Skip to content

Commit

Permalink
refactor(demo): try fixing demo location path url
Browse files Browse the repository at this point in the history
  • Loading branch information
ghiscoding committed Mar 30, 2020
1 parent 0f09e24 commit 31de551
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion docs/app.a18b94a8da8732657a28.bundle.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion docs/app.af84567c6c330ea0fa4f.bundle.map

This file was deleted.

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions docs/app.cf980104cf6a590af681.bundle.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/index.html
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<!doctype html><html><head><meta charset="utf-8"><title>Slickgrid-Universal</title><link rel="stylesheet" href="https://cdn.materialdesignicons.com/5.0.45/css/materialdesignicons.min.css"><meta name="viewport" content="width=device-width,initial-scale=1"><base href=""><link href="app.a18b94a8da8732657a28.bundle.css" rel="stylesheet"></head><body class="has-navbar-fixed-top"><script async defer="defer" src="https://buttons.github.io/buttons.js"></script><div app="main"><div style="margin: 50px; font-weight: bold;">LOADING...</div></div><script src="app.af84567c6c330ea0fa4f.bundle.js"></script></body></html>
<!doctype html><html><head><meta charset="utf-8"><title>Slickgrid-Universal</title><link rel="stylesheet" href="https://cdn.materialdesignicons.com/5.0.45/css/materialdesignicons.min.css"><meta name="viewport" content="width=device-width,initial-scale=1"><base href=""><link href="app.a18b94a8da8732657a28.bundle.css" rel="stylesheet"></head><body class="has-navbar-fixed-top"><script async defer="defer" src="https://buttons.github.io/buttons.js"></script><div app="main"><div style="margin: 50px; font-weight: bold;">LOADING...</div></div><script src="app.cf980104cf6a590af681.bundle.js"></script></body></html>
3 changes: 2 additions & 1 deletion packages/vanilla-bundle-examples/src/app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ export class App {
stateBangChar: string;
renderer: Renderer;
appRouting: any;
baseUrl = window.location.origin + document.querySelector('base')?.getAttribute('href') || '';
// baseUrl = window.location.origin + document.querySelector('base')?.getAttribute('href') || '';
baseUrl = window.location.origin + window.location.pathname;
routerConfig: RouterConfig = {
pushState: false,
routes: []
Expand Down

0 comments on commit 31de551

Please sign in to comment.