Skip to content

Commit

Permalink
[ci] format
Browse files Browse the repository at this point in the history
  • Loading branch information
ascorbic authored and astrobot-houston committed Jan 30, 2025
1 parent 740eb60 commit 23e631c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export function trailingSlashMiddleware(settings: AstroSettings): vite.Connect.N
/* malformed uri */
return next(e);
}
if(pathname.startsWith('/_') || pathname.startsWith('/@')) {
if (pathname.startsWith('/_') || pathname.startsWith('/@')) {
return next();
}
if (
Expand Down
1 change: 0 additions & 1 deletion packages/astro/test/ssr-error-pages.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,6 @@ describe('trailing slashes for error pages', () => {
const response = await fixture.fetch('/@vite/client');
assert.equal(response.status, 200);
});

});

describe('Production', () => {
Expand Down

0 comments on commit 23e631c

Please sign in to comment.