mirror of
https://github.com/luxfi/explore.git
synced 2026-09-24 00:28:18 +00:00
Adds .hanzo/workflows/cicd.yml calling the canonical pipeline and drops the GitHub-hosted workflows it replaces. Lands here because this is where the repo is written — git.hanzo.ai is upstream and github.com is its push mirror, so the same change made on github.com never reaches the runner fleet.
16 lines
279 B
TypeScript
16 lines
279 B
TypeScript
import type CspDev from 'csp-dev';
|
|
|
|
import config from 'configs/app';
|
|
|
|
export function hanzoInsights(): CspDev.DirectiveDescriptor {
|
|
if (!config.features.hanzoInsights.isEnabled) {
|
|
return {};
|
|
}
|
|
|
|
return {
|
|
'connect-src': [
|
|
'https://api.hanzo.ai',
|
|
],
|
|
};
|
|
}
|