mirror of
https://github.com/withastro/astro.git
synced 2025-02-17 22:44:24 -05:00
[ci] format
This commit is contained in:
parent
740eb6019f
commit
23e631c3dd
2 changed files with 1 additions and 2 deletions
|
@ -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 (
|
||||
|
|
|
@ -174,7 +174,6 @@ describe('trailing slashes for error pages', () => {
|
|||
const response = await fixture.fetch('/@vite/client');
|
||||
assert.equal(response.status, 200);
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
describe('Production', () => {
|
||||
|
|
Loading…
Add table
Reference in a new issue