full site update
This commit is contained in:
4
node_modules/astro/dist/vite-plugin-astro-server/server-state.js
generated
vendored
4
node_modules/astro/dist/vite-plugin-astro-server/server-state.js
generated
vendored
@@ -4,9 +4,6 @@ function createServerState() {
|
||||
state: "fresh"
|
||||
};
|
||||
}
|
||||
function hasAnyFailureState(serverState) {
|
||||
return serverState.state !== "fresh";
|
||||
}
|
||||
function setRouteError(serverState, pathname, error) {
|
||||
if (serverState.routes.has(pathname)) {
|
||||
const routeState = serverState.routes.get(pathname);
|
||||
@@ -36,7 +33,6 @@ function clearRouteError(serverState, pathname) {
|
||||
export {
|
||||
clearRouteError,
|
||||
createServerState,
|
||||
hasAnyFailureState,
|
||||
setRouteError,
|
||||
setServerError
|
||||
};
|
||||
|
Reference in New Issue
Block a user