fix: utilise les clés API WC de la dev
This commit is contained in:
parent
0c8747ea4f
commit
ea5f5eda77
1 changed files with 2 additions and 1 deletions
|
|
@ -127,8 +127,9 @@ class StarterSite extends Site {
|
|||
// Nonce WooCommerce pour l'API Rest
|
||||
$nonce_wc = wp_create_nonce("wc_store_api");
|
||||
$context["nonce_wc"] = $nonce_wc;
|
||||
// TODO: Utiliser des variables d'environnement
|
||||
$auth_string = base64_encode(
|
||||
"ck_a44e13da0f92d50e40bff7d98fb2959a8b55f64d:cs_7e9dc9d34bdfd080ba3d444b249c304a83250264",
|
||||
"ck_19abf67ffb8f254f928dd5c040de0256c2db274c:cs_6216be63a25dd7fc74a7bfaf56489fc449e359cf",
|
||||
);
|
||||
$context["auth_string"] = $auth_string;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue