Skip to content

Commit

Permalink
fix paths
Browse files Browse the repository at this point in the history
  • Loading branch information
no-chris committed Feb 29, 2024
1 parent 4c8cf1e commit 9491b9c
Show file tree
Hide file tree
Showing 6 changed files with 19 additions and 16 deletions.

Large diffs are not rendered by default.

18 changes: 9 additions & 9 deletions packages/chord-chart-studio/build/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@
href="https://fonts.googleapis.com/icon?family=Material+Icons"
rel="stylesheet"
/>
<link rel="icon" href="./favicon.ico" sizes="32x32" />
<link rel="icon" href="./icon.svg" type="image/svg+xml" />
<link rel="apple-touch-icon" href="./apple-touch-icon.png" />
<link rel="manifest" href="./manifest.json" />
<link rel="icon" href="/app/favicon.ico" sizes="32x32" />
<link rel="icon" href="/app/icon.svg" type="image/svg+xml" />
<link rel="apple-touch-icon" href="/app/apple-touch-icon.png" />
<link rel="manifest" href="/app/manifest.json" />

<!-- Global site tag (gtag.js) - Google Analytics -->
<script
Expand All @@ -39,11 +39,11 @@

gtag('config', 'G-EGKBT2J600');
</script>
<script type="module" crossorigin src="./assets/index-BeOzSnWz.js"></script>
<link rel="modulepreload" crossorigin href="./assets/vendor-BPGk5lTF.js">
<link rel="stylesheet" crossorigin href="./assets/vendor-D780UWrd.css">
<link rel="stylesheet" crossorigin href="./assets/index-1ovoJZ2z.css">
<script id="vite-plugin-pwa:register-sw" src="./registerSW.js"></script></head>
<script type="module" crossorigin src="/app/assets/index-COv2kAVA.js"></script>
<link rel="modulepreload" crossorigin href="/app/assets/vendor-BPGk5lTF.js">
<link rel="stylesheet" crossorigin href="/app/assets/vendor-D780UWrd.css">
<link rel="stylesheet" crossorigin href="/app/assets/index-1ovoJZ2z.css">
<script id="vite-plugin-pwa:register-sw" src="/app/registerSW.js"></script></head>
<body>
<div id="app" class="theme-dark"></div>
</body>
Expand Down
2 changes: 1 addition & 1 deletion packages/chord-chart-studio/build/registerSW.js

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

2 changes: 1 addition & 1 deletion packages/chord-chart-studio/build/sw.js

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

3 changes: 3 additions & 0 deletions packages/chord-chart-studio/src/core/router.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ import qs from 'qs';

import renderController from '../renderController';

const base = '/app'; // duh!

let router;
let getUrl;

Expand All @@ -12,6 +14,7 @@ export default {
const allRoutesWithWrappedActions = allRoutes.map((route) => {
return {
...route,
path: base + route.path,
action: (context) => ({
Controller: route.action,
params: context.params,
Expand Down
2 changes: 1 addition & 1 deletion packages/chord-chart-studio/vite.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { VitePWA } from 'vite-plugin-pwa';
export default defineConfig({
root: 'src',
publicDir: '../public',
base: './',
base: '/app/',
build: {
outDir: '../build',
emptyOutDir: true,
Expand Down

0 comments on commit 9491b9c

Please sign in to comment.