meixifrontserve 2.0.54 → 2.0.56
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/config/package.json
CHANGED
package/package.json
CHANGED
|
@@ -5,6 +5,7 @@ const urlConfig = require('../config/urlConfig');
|
|
|
5
5
|
const getEnvFileTemplate = require('../config/envFileTemplate')
|
|
6
6
|
const path = require("path");
|
|
7
7
|
const fs = require('fs');
|
|
8
|
+
// v2
|
|
8
9
|
const packageJson = require("../config/packageV2.json");
|
|
9
10
|
const childProcess = require("child_process");
|
|
10
11
|
const {exec} = childProcess;
|
|
@@ -92,8 +92,7 @@ class RollupBuildController {
|
|
|
92
92
|
let time = `${date.getFullYear()}${date.getMonth() + 1}${date.getDate()}`
|
|
93
93
|
return new Promise((resolve, reject) => {
|
|
94
94
|
console.log(`${apiConfig[`${this.env}`]}/files/osssource/common/oss/policy`)
|
|
95
|
-
needle.post(`${apiConfig[`${this.env}`]}/files/osssource/common/oss/policy`, {
|
|
96
|
-
filepath: `${ossBuckConfig[`${this.env}`]}${time}`
|
|
95
|
+
needle.post(`${apiConfig[`${this.env}`]}/files/osssource/common/oss/policy?filepath=${ossBuckConfig[`${this.env}`]}${time}`, {
|
|
97
96
|
}, (error, res) => {
|
|
98
97
|
console.log(error);
|
|
99
98
|
if (!error) {
|