From c06fb271d2f4ab634d2c69c121b5c48b34919be2 Mon Sep 17 00:00:00 2001 From: Jason <98767015+dfx-json@users.noreply.github.com> Date: Fri, 13 Dec 2024 07:11:51 -0800 Subject: [PATCH] chore: remove indentation changes --- .../__frontend_name__/assets/.ic-assets.json5 | 30 ++++++++++--------- .../__frontend_name__/public/.ic-assets.json5 | 30 ++++++++++--------- 2 files changed, 32 insertions(+), 28 deletions(-) diff --git a/src/dfx/assets/project_templates/vanilla_js/src/__frontend_name__/assets/.ic-assets.json5 b/src/dfx/assets/project_templates/vanilla_js/src/__frontend_name__/assets/.ic-assets.json5 index 5eaf4da199..d6b4ab47cc 100644 --- a/src/dfx/assets/project_templates/vanilla_js/src/__frontend_name__/assets/.ic-assets.json5 +++ b/src/dfx/assets/project_templates/vanilla_js/src/__frontend_name__/assets/.ic-assets.json5 @@ -1,17 +1,19 @@ [ - { - "match": "**/*", - // Provides a base set of security headers that will work for most dapps. - // Any headers you manually specify will override the headers provided by the policy. - // See 'dfx info security-policy' to see the policy and for advice on how to harden the headers. - // Once you improved the headers for your dapp, set the security policy to "hardened" to disable the warning. - // Options are: "hardened" | "standard" | "disabled". - "security_policy": "standard", - // Uncomment to disable the warning about using the - // standard security policy, if you understand the risk - // "disable_security_policy_warning": true, + { + "match": "**/*", - // Uncomment to redirect all requests from .raw.icp0.io to .icp0.io - // "allow_raw_access": false - }, + // Provides a base set of security headers that will work for most dapps. + // Any headers you manually specify will override the headers provided by the policy. + // See 'dfx info security-policy' to see the policy and for advice on how to harden the headers. + // Once you improved the headers for your dapp, set the security policy to "hardened" to disable the warning. + // Options are: "hardened" | "standard" | "disabled". + "security_policy": "standard", + + // Uncomment to disable the warning about using the + // standard security policy, if you understand the risk + // "disable_security_policy_warning": true, + + // Uncomment to redirect all requests from .raw.icp0.io to .icp0.io + // "allow_raw_access": false + }, ] diff --git a/src/dfx/assets/project_templates/vue/src/__frontend_name__/public/.ic-assets.json5 b/src/dfx/assets/project_templates/vue/src/__frontend_name__/public/.ic-assets.json5 index 5eaf4da199..c74c1e1181 100644 --- a/src/dfx/assets/project_templates/vue/src/__frontend_name__/public/.ic-assets.json5 +++ b/src/dfx/assets/project_templates/vue/src/__frontend_name__/public/.ic-assets.json5 @@ -1,17 +1,19 @@ [ - { - "match": "**/*", - // Provides a base set of security headers that will work for most dapps. - // Any headers you manually specify will override the headers provided by the policy. - // See 'dfx info security-policy' to see the policy and for advice on how to harden the headers. - // Once you improved the headers for your dapp, set the security policy to "hardened" to disable the warning. - // Options are: "hardened" | "standard" | "disabled". - "security_policy": "standard", - // Uncomment to disable the warning about using the - // standard security policy, if you understand the risk - // "disable_security_policy_warning": true, + { + "match": "**/*", - // Uncomment to redirect all requests from .raw.icp0.io to .icp0.io - // "allow_raw_access": false - }, + // Provides a base set of security headers that will work for most dapps. + // Any headers you manually specify will override the headers provided by the policy. + // See 'dfx info security-policy' to see the policy and for advice on how to harden the headers. + // Once you improved the headers for your dapp, set the security policy to "hardened" to disable the warning. + // Options are: "hardened" | "standard" | "disabled". + "security_policy": "standard", + + // Uncomment to disable the warning about using the + // standard security policy, if you understand the risk + // "disable_security_policy_warning": true, + + // Uncomment to redirect all requests from .raw.icp0.io to .icp0.io + // "allow_raw_access": false + }, ]