Files
igny8/sites/src/builder/pages/dashboard/SiteDashboard.tsx
IGNY8 VPS (Salman) 0eb039e1a7 Update CORS settings, enhance API URL detection, and improve template rendering
- Added new CORS origins for local development and specific IP addresses in `settings.py`.
- Refactored API URL retrieval logic in `loadSiteDefinition.ts` and `fileAccess.ts` to auto-detect based on the current origin.
- Enhanced error handling in API calls and improved logging for better debugging.
- Updated `renderTemplate` function to support additional block types and improved rendering logic for various components in `templateEngine.tsx`.
2025-11-18 19:52:42 +00:00

15 lines
412 B
TypeScript

/**
* SiteDashboard - Site Builder Dashboard
* Placeholder component for builder dashboard functionality
*/
export default function SiteDashboard() {
return (
<div>
<h2>Site Builder Dashboard</h2>
<p>This is a placeholder for the Site Builder Dashboard.</p>
<p>The builder functionality can be accessed from the main app at <code>/sites/builder/dashboard</code></p>
</div>
);
}