- Move Astro files from dealplustech-astro/ to project root - Update Dockerfile: PORT environment variable (default 80) - Add vite.config.ts with allowedHosts: true - Matches nixpacks behavior for Easypanel deployment - No hardcoded ports or domains
8 lines
205 B
JavaScript
8 lines
205 B
JavaScript
export function hasNoChildren(node) {
|
|
return !node || !node.children || node.children.isEmpty;
|
|
}
|
|
|
|
export function isNodeChildrenList(node, list) {
|
|
return node !== null && node.children === list;
|
|
}
|