- 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
12 lines
252 B
JavaScript
12 lines
252 B
JavaScript
import { createKey, encodeKey } from "../../../core/encryption.js";
|
|
class CryptoKeyGenerator {
|
|
async generate() {
|
|
const key = await createKey();
|
|
const encoded = await encodeKey(key);
|
|
return encoded;
|
|
}
|
|
}
|
|
export {
|
|
CryptoKeyGenerator
|
|
};
|