mirror of
https://github.com/luxfi/explore.git
synced 2026-09-24 00:28:18 +00:00
* add tag and icon for safe contracts * surpress sentry error log and describe feature in the docs * refine logs at container start
16 lines
254 B
TypeScript
16 lines
254 B
TypeScript
import type CspDev from 'csp-dev';
|
|
|
|
import config from 'configs/app';
|
|
|
|
export function safe(): CspDev.DirectiveDescriptor {
|
|
if (!config.features.safe.isEnabled) {
|
|
return {};
|
|
}
|
|
|
|
return {
|
|
'connect-src': [
|
|
'*.safe.global',
|
|
],
|
|
};
|
|
}
|