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 417a03b commit 94341dd
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 7 deletions.
6 changes: 3 additions & 3 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/sologger/sologger_logo_sm.svg" />
<link rel="icon" type="image/svg+xml" href="/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-D8GbbZg1.js"></script>
<link rel="stylesheet" crossorigin href="/sologger/assets/main-DhbE6e9P.css">
<script type="module" crossorigin src="/assets/main-BafWj0Zz.js"></script>
<link rel="stylesheet" crossorigin href="/assets/main-DhbE6e9P.css">
</head>
<body>
<div id="app"></div>
Expand Down
3 changes: 0 additions & 3 deletions sologger-ui/src/router/index.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
// src/router/index.js
import { createRouter, createWebHistory } from 'vue-router';
import HomeView from '../views/HomeView.vue';
import ConvertView from '../views/ConvertView.vue';
Expand All @@ -23,8 +22,6 @@ const routes = [
];

const router = createRouter({
base: '/sologger/',
mode: 'history',
history: createWebHistory('/sologger/'),
routes
})
Expand Down
1 change: 0 additions & 1 deletion sologger-ui/vite.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ export default defineConfig({
plugins: [
vue(),
],
base: '/sologger/',
optimizeDeps: {
include: ['@handsontable/vue3']
},
Expand Down

0 comments on commit 94341dd

Please sign in to comment.