Skip to content

Commit

Permalink
Update base URL and asset paths
Browse files Browse the repository at this point in the history
Removed hardcoded '/sologger/' base path, modifying asset paths and configuration accordingly. This change ensures better flexibility for deployment environments without relying on the '/sologger/' subdirectory.
  • Loading branch information
wkennedy committed Nov 20, 2024
1 parent 6580e76 commit 18c1f65
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<link rel="icon" type="image/svg+xml" href="/sologger/sologger_logo_sm.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Sologger</title>
<script type="module" crossorigin src="/sologger/assets/main-CLiFUasG.js"></script>
<script type="module" crossorigin src="/sologger/assets/main-DECZbvaO.js"></script>
<link rel="stylesheet" crossorigin href="/sologger/assets/main-DhbE6e9P.css">
</head>
<body>
Expand Down
2 changes: 1 addition & 1 deletion sologger-ui/src/router/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ const routes = [
];

const router = createRouter({
history: createWebHashHistory(import.meta.env.BASE_URL),
history: createWebHistory('/sologger/'),
routes
})
export default router;
1 change: 0 additions & 1 deletion sologger-ui/vite.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ export default defineConfig({
base: '/sologger/',
build: {
outDir: 'dist',
assetsDir: 'assets',
rollupOptions: {
input: {
main: './index.html',
Expand Down

0 comments on commit 18c1f65

Please sign in to comment.