Skip to content

Commit

Permalink
Fix base url for deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
shiro committed Mar 27, 2024
1 parent 02f0537 commit bd001e7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions app.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ export default defineConfig({
devOverlay: false,

server: {
baseURL: process.env.BASE_PATH,
static: true,
prerender: {
routes: [
Expand Down
1 change: 1 addition & 0 deletions src/app.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import "./app.css";
export default function App() {
return (
<Router
// base={import.meta.env.BASE_URL}
root={(props) => (
<MetaProvider>
<Title>SolidStart - Basic</Title>
Expand Down

0 comments on commit bd001e7

Please sign in to comment.