Update src/lib/sig.ts

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
Alexa Amundson
2025-11-24 10:54:04 -06:00
committed by GitHub
parent d1dcfb83f8
commit 2095f58f3c

View File

@@ -9,7 +9,8 @@ export async function writeSignature() {
ts: new Date().toISOString(), ts: new Date().toISOString(),
agent: 'Archive-Gen-0' agent: 'Archive-Gen-0'
}; };
const target = resolve(currentDir, '../../public/sig.beacon.json'); const projectRoot = resolve(currentDir, '../..');
const target = resolve(projectRoot, 'public/sig.beacon.json');
await writeFile(target, JSON.stringify(payload, null, 2)); await writeFile(target, JSON.stringify(payload, null, 2));
} }