Refactor routing in App component to enhance navigation and improve error handling by integrating dynamic routes and updating the NotFound route.
This commit is contained in:
17
node_modules/astro/dist/core/polyfill.js
generated
vendored
Normal file
17
node_modules/astro/dist/core/polyfill.js
generated
vendored
Normal file
@@ -0,0 +1,17 @@
|
||||
import buffer from "node:buffer";
|
||||
import crypto from "node:crypto";
|
||||
function apply() {
|
||||
if (!globalThis.crypto) {
|
||||
Object.defineProperty(globalThis, "crypto", {
|
||||
value: crypto.webcrypto
|
||||
});
|
||||
}
|
||||
if (!globalThis.File) {
|
||||
Object.defineProperty(globalThis, "File", {
|
||||
value: buffer.File
|
||||
});
|
||||
}
|
||||
}
|
||||
export {
|
||||
apply
|
||||
};
|
Reference in New Issue
Block a user