mirror of
https://github.com/nicotsx/zerobyte.git
synced 2026-06-03 21:59:36 -04:00
* test: backend integration * docs: mounted shares acls * feat: smb expose real ACLs when available * fix: re-init repo on setup * chore: add missing @hono/standard-validator package * chore: add happy-dom dev dep
19 lines
507 B
TypeScript
19 lines
507 B
TypeScript
function ensureIntegrationEnv(): void {
|
|
process.env.NODE_ENV ??= "production";
|
|
process.env.LOG_LEVEL ??= "warn";
|
|
process.env.BASE_URL ??= "http://localhost:4096";
|
|
process.env.TRUSTED_ORIGINS ??= process.env.BASE_URL;
|
|
process.env.APP_SECRET ??= "0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef";
|
|
}
|
|
|
|
async function main(): Promise<void> {
|
|
ensureIntegrationEnv();
|
|
|
|
const { runBackendIntegration } = await import("./runner");
|
|
await runBackendIntegration();
|
|
}
|
|
|
|
await main();
|
|
|
|
export {};
|