@wildberries/service-cdn-uploader
Advanced tools
Comparing version 0.1.0-beta.3 to 0.1.0-beta.4
31
index.js
@@ -15,21 +15,20 @@ const path = require('path'); | ||
const renderGoAuth = '7833fe70-6e1e-4651-820c-ba0c53271a8d'; | ||
// const renderGoAuth = process.env.CDN_API_TOKEN; | ||
// const CI_COMMIT_TAG = process.env.CI_COMMIT_TAG; | ||
// const APP_STATIC_NAMESPACE = process.env.APP_STATIC_NAMESPACE; | ||
// const WB_STATIC_URL = process.env.WB_STATIC_URL; | ||
// const SERVICE_URL = process.env.SERVICE_URL; | ||
const renderGoAuth = process.env.CDN_API_TOKEN; | ||
const CI_COMMIT_TAG = process.env.CI_COMMIT_TAG; | ||
const APP_STATIC_NAMESPACE = process.env.APP_STATIC_NAMESPACE; | ||
const WB_STATIC_URL = process.env.WB_STATIC_URL; | ||
const SERVICE_URL = process.env.SERVICE_URL; | ||
// FOR DEBUGGING | ||
const WB_STATIC_URL = 'https://mstatic.wbstatic.net'; | ||
const SERVICE_URL = 'http://api.render-go.svc.k8s.datapro'; | ||
const CI_COMMIT_TAG = 'v0.0.3'; | ||
const APP_STATIC_NAMESPACE = 'suppliers-portal-business-card-frontend-test'; | ||
// const WB_STATIC_URL = 'https://mstatic.wbstatic.net'; | ||
// const SERVICE_URL = 'http://api.render-go.svc.k8s.datapro'; | ||
// const CI_COMMIT_TAG = 'v0.0.3'; | ||
// const APP_STATIC_NAMESPACE = 'suppliers-portal-business-card-frontend-test'; | ||
// console.log('renderGoAuth', renderGoAuth); | ||
// console.log('CI_COMMIT_TAG', CI_COMMIT_TAG); | ||
// console.log('APP_STATIC_NAMESPACE', APP_STATIC_NAMESPACE); | ||
// console.log('WB_STATIC_URL', WB_STATIC_URL); | ||
// console.log('SERVICE_URL', SERVICE_URL); | ||
// console.log('pathToStaticFolder', pathToStaticFolder); | ||
console.log('renderGoAuth', renderGoAuth); | ||
console.log('CI_COMMIT_TAG', CI_COMMIT_TAG); | ||
console.log('APP_STATIC_NAMESPACE', APP_STATIC_NAMESPACE); | ||
console.log('WB_STATIC_URL', WB_STATIC_URL); | ||
console.log('SERVICE_URL', SERVICE_URL); | ||
console.log('pathToStaticFolder', pathToStaticFolder); | ||
@@ -36,0 +35,0 @@ if ( |
{ | ||
"name": "@wildberries/service-cdn-uploader", | ||
"version": "0.1.0-beta.3", | ||
"version": "0.1.0-beta.4", | ||
"main": "./index.js", | ||
@@ -5,0 +5,0 @@ "scripts": { |
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 5 instances in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
191106
5054
7