PDPA Features: ✅ Cookie consent banner ✅ Consent logging API ✅ Admin dashboard ✅ Privacy Policy ✅ Terms & Conditions Technical: ✅ Astro 5.x + Tailwind v4 ✅ Docker on port 80 ✅ SQLite database ✅ 15 pages built Ready for Easypanel deployment.
14 lines
419 B
JavaScript
14 lines
419 B
JavaScript
import { ActionsCantBeLoaded } from "../core/errors/errors-data.js";
|
|
import { AstroError } from "../core/errors/index.js";
|
|
import { ENTRYPOINT_VIRTUAL_MODULE_ID } from "./consts.js";
|
|
async function loadActions(moduleLoader) {
|
|
try {
|
|
return await moduleLoader.import(ENTRYPOINT_VIRTUAL_MODULE_ID);
|
|
} catch (error) {
|
|
throw new AstroError(ActionsCantBeLoaded, { cause: error });
|
|
}
|
|
}
|
|
export {
|
|
loadActions
|
|
};
|