Skip to content

Commit

Permalink
fix(build): make vite respond with 404 when not found
Browse files Browse the repository at this point in the history
- Change app type to get expected 404 when file is missing.
  • Loading branch information
skjsjhb committed Jan 16, 2025
1 parent f2cb8f4 commit b3972f0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ export default defineConfig(({ command }) => {

return {
root: "./src/renderer",
appType: "mpa",
base: "",
publicDir: path.resolve(import.meta.dirname, "public"),
build: {
Expand Down

0 comments on commit b3972f0

Please sign in to comment.