We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 61d8147 commit 861fcb5Copy full SHA for 861fcb5
index.ts
@@ -167,13 +167,13 @@ const main = async (region: string, model: string): Promise<void> => {
167
);
168
169
await axios
170
- .get("http://cloud-neofussvr.sslcs.cdngc.net/NF_DownloadBinaryForMass.do", {
171
- headers,
172
- params: {
173
- file: `${binaryModelPath}${binaryFilename}`,
174
- },
175
- responseType: "stream",
176
- })
+ .get(
+ `http://cloud-neofussvr.sslcs.cdngc.net/NF_DownloadBinaryForMass.do?file=${binaryModelPath}${binaryFilename}`,
+ {
+ headers,
+ responseType: "stream",
+ }
+ )
177
.then((res: AxiosResponse) => {
178
const outputFolder = `${process.cwd()}/${model}_${region}/`;
179
console.log();
0 commit comments