full site update
This commit is contained in:
4
node_modules/astro/dist/core/constants.js
generated
vendored
4
node_modules/astro/dist/core/constants.js
generated
vendored
@@ -1,11 +1,10 @@
|
||||
const ASTRO_VERSION = "4.16.18";
|
||||
const ASTRO_VERSION = "5.12.3";
|
||||
const REROUTE_DIRECTIVE_HEADER = "X-Astro-Reroute";
|
||||
const REWRITE_DIRECTIVE_HEADER_KEY = "X-Astro-Rewrite";
|
||||
const REWRITE_DIRECTIVE_HEADER_VALUE = "yes";
|
||||
const NOOP_MIDDLEWARE_HEADER = "X-Astro-Noop";
|
||||
const ROUTE_TYPE_HEADER = "X-Astro-Route-Type";
|
||||
const DEFAULT_404_COMPONENT = "astro-default-404.astro";
|
||||
const DEFAULT_500_COMPONENT = "astro-default-500.astro";
|
||||
const REDIRECT_STATUS_CODES = [301, 302, 303, 307, 308, 300, 304];
|
||||
const REROUTABLE_STATUS_CODES = [404, 500];
|
||||
const clientAddressSymbol = Symbol.for("astro.clientAddress");
|
||||
@@ -24,7 +23,6 @@ const MIDDLEWARE_PATH_SEGMENT_NAME = "middleware";
|
||||
export {
|
||||
ASTRO_VERSION,
|
||||
DEFAULT_404_COMPONENT,
|
||||
DEFAULT_500_COMPONENT,
|
||||
MIDDLEWARE_PATH_SEGMENT_NAME,
|
||||
NOOP_MIDDLEWARE_HEADER,
|
||||
REDIRECT_STATUS_CODES,
|
||||
|
Reference in New Issue
Block a user