Skip to content

Commit

Permalink
Fix deployed base URL
Browse files Browse the repository at this point in the history
  • Loading branch information
mlocati committed Nov 7, 2023
1 parent 22d4807 commit 3078477
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion docs-src/src/Data.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ export function getData(): Promise<Data> {
})
}
if (loadPromise === null) {
loadPromise = fetch('/assets/data.json').then((response) => {
loadPromise = fetch('./assets/data.json').then((response) => {
if (!response.ok) {
throw new Error(response.statusText)
}
Expand Down
1 change: 1 addition & 0 deletions docs-src/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import Components from 'unplugin-vue-components/vite'

// https://vitejs.dev/config/
export default defineConfig({
base: '/unipoints/',
build: {
outDir: '../docs',
emptyOutDir: true
Expand Down

0 comments on commit 3078477

Please sign in to comment.