diff options
author | 2022-10-31 17:00:36 +0000 | |
---|---|---|
committer | 2022-10-31 17:00:36 +0000 | |
commit | e25fed2f492b9fe1f2c9b6392f792cc8a5ab7ff6 (patch) | |
tree | 84713658d48c9cd9d287790be1e2cedd779cd813 | |
parent | 74759cf787aefeeccc3fc336fdb0a56b982733bb (diff) | |
download | astro-e25fed2f492b9fe1f2c9b6392f792cc8a5ab7ff6.tar.gz astro-e25fed2f492b9fe1f2c9b6392f792cc8a5ab7ff6.tar.zst astro-e25fed2f492b9fe1f2c9b6392f792cc8a5ab7ff6.zip |
[ci] format
Diffstat (limited to '')
-rw-r--r-- | packages/astro/src/vite-plugin-astro-server/index.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/astro/src/vite-plugin-astro-server/index.ts b/packages/astro/src/vite-plugin-astro-server/index.ts index d98b9344f..0e09c9b96 100644 --- a/packages/astro/src/vite-plugin-astro-server/index.ts +++ b/packages/astro/src/vite-plugin-astro-server/index.ts @@ -1,12 +1,13 @@ import type http from 'http'; import mime from 'mime'; import type * as vite from 'vite'; -import type { AstroConfig, AstroSettings, ManifestData } from '../@types/astro'; +import type { AstroSettings, ManifestData } from '../@types/astro'; import { DevelopmentEnvironment, SSROptions } from '../core/render/dev/index'; import { Readable } from 'stream'; import { attachToResponse, getSetCookiesFromResponse } from '../core/cookies/index.js'; import { call as callEndpoint } from '../core/endpoint/dev/index.js'; +import { throwIfRedirectNotAllowed } from '../core/endpoint/index.js'; import { collectErrorMetadata, getViteErrorPayload } from '../core/errors/dev/index.js'; import type { ErrorWithMetadata } from '../core/errors/index.js'; import { createSafeError } from '../core/errors/index.js'; @@ -19,7 +20,6 @@ import { createRequest } from '../core/request.js'; import { createRouteManifest, matchAllRoutes } from '../core/routing/index.js'; import { resolvePages } from '../core/util.js'; import notFoundTemplate, { subpathNotUsedTemplate } from '../template/4xx.js'; -import { throwIfRedirectNotAllowed } from '../core/endpoint/index.js'; interface AstroPluginOptions { settings: AstroSettings; |