Skip to content

Commit

Permalink
redirects to /resume
Browse files Browse the repository at this point in the history
  • Loading branch information
christiannaths committed Aug 28, 2024
1 parent 51c6d1b commit 6ecba53
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 8 deletions.
11 changes: 7 additions & 4 deletions firebase.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
{
"hosting": {
"public": "dist",
"ignore": [
"firebase.json",
"**/.*",
"**/node_modules/**"
"ignore": ["firebase.json", "**/.*", "**/node_modules/**"],
"redirects": [
{
"source": "/",
"destination": "/resume",
"type": 301
}
]
}
}
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
rel="stylesheet"
/>

<title>Vite + React + TS</title>
<title>Christian Naths</title>
</head>
<body>
<div id="root"></div>
Expand Down
9 changes: 6 additions & 3 deletions vite.config.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
import { defineConfig } from 'vite'
import react from '@vitejs/plugin-react'
import { defineConfig } from 'vite';
import react from '@vitejs/plugin-react';

// https://vitejs.dev/config/
export default defineConfig({
plugins: [react()],
})
build: {
outDir: 'dist/resume',
},
});

0 comments on commit 6ecba53

Please sign in to comment.