mirror of https://github.com/certd/certd
chore:
parent
d2997624b0
commit
d227dd64e3
|
@ -59,7 +59,7 @@ jobs:
|
||||||
password: ${{ secrets.aliyun_cs_password }}
|
password: ${{ secrets.aliyun_cs_password }}
|
||||||
|
|
||||||
- name: Build and push
|
- name: Build and push
|
||||||
uses: docker/build-push-action@v6.5.0
|
uses: docker/build-push-action@v6
|
||||||
with:
|
with:
|
||||||
platforms: linux/amd64,linux/arm64
|
platforms: linux/amd64,linux/arm64
|
||||||
push: true
|
push: true
|
||||||
|
|
|
@ -14,7 +14,7 @@ export class PlusService {
|
||||||
@Config('plus.server.baseUrl')
|
@Config('plus.server.baseUrl')
|
||||||
plusServerBaseUrl;
|
plusServerBaseUrl;
|
||||||
|
|
||||||
async requestWithoutSign(config: any) {
|
async requestWithoutSign(config: any): Promise<any> {
|
||||||
config.baseURL = this.plusServerBaseUrl;
|
config.baseURL = this.plusServerBaseUrl;
|
||||||
return await request(config);
|
return await request(config);
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
import { utils } from '@certd/pipeline';
|
import { utils } from '@certd/pipeline';
|
||||||
|
|
||||||
export async function request(config: any) {
|
export async function request(config: any): Promise<any> {
|
||||||
try {
|
try {
|
||||||
return await utils.http(config);
|
return await utils.http(config);
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
|
|
Loading…
Reference in New Issue