♻️ Restructure: Move Astro to repository root
BREAKING CHANGE: Astro project is now at repository root - Removed dealplustech-astro subdirectory - Moved all Astro files to root - Updated PostCSS config to .cjs - Removed old Next.js files ✅ 11 pages built successfully ✅ Cookie consent banner included ✅ Privacy/Terms links in footer ✅ Ready for Easypanel deployment (no root dir needed) Migration path: - Old structure: /dealplustech-astro/ - New structure: / (root)
This commit is contained in:
19
dealplustech-astro/node_modules/astro/dist/runtime/server/util.js
generated
vendored
19
dealplustech-astro/node_modules/astro/dist/runtime/server/util.js
generated
vendored
@@ -1,19 +0,0 @@
|
||||
function isPromise(value) {
|
||||
return !!value && typeof value === "object" && "then" in value && typeof value.then === "function";
|
||||
}
|
||||
async function* streamAsyncIterator(stream) {
|
||||
const reader = stream.getReader();
|
||||
try {
|
||||
while (true) {
|
||||
const { done, value } = await reader.read();
|
||||
if (done) return;
|
||||
yield value;
|
||||
}
|
||||
} finally {
|
||||
reader.releaseLock();
|
||||
}
|
||||
}
|
||||
export {
|
||||
isPromise,
|
||||
streamAsyncIterator
|
||||
};
|
||||
Reference in New Issue
Block a user