Skip to content

Commit

Permalink
fix: allow paths containing dot(vitejs#4344)
Browse files Browse the repository at this point in the history
  • Loading branch information
ygj6 committed Jul 22, 2021
1 parent 9dab51d commit 3438ec6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/vite/src/node/server/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -498,6 +498,7 @@ export async function createServer(
middlewares.use(
history({
logger: createDebugger('vite:spa-fallback'),
disableDotRule: true,
// support /dir/ without explicit index.html
rewrites: [
{
Expand Down

0 comments on commit 3438ec6

Please sign in to comment.