mirror of
https://github.com/certd/certd.git
synced 2026-07-09 14:17:37 +08:00
perf: 支持部署证书到网宿CDN
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
export class Constant {
|
||||
private constructor() {}
|
||||
|
||||
public static readonly HTTP_REQUEST_PREFIX: string = "https://open.chinanetcenter.com";
|
||||
public static readonly HTTPS_REQUEST_PREFIX: string = "https://";
|
||||
public static readonly HTTP_DOMAIN: string = "open.chinanetcenter.com";
|
||||
|
||||
public static readonly APPLICATION_JSON: string = "application/json";
|
||||
|
||||
public static readonly HEAD_SIGN_ACCESS_KEY: string = "x-cnc-accessKey";
|
||||
public static readonly HEAD_SIGN_TIMESTAMP: string = "x-cnc-timestamp";
|
||||
public static readonly HEAD_SIGN_ALGORITHM: string = "CNC-HMAC-SHA256";
|
||||
|
||||
public static readonly X_CNC_AUTH_METHOD: string = "x-cnc-auth-method";
|
||||
|
||||
public static readonly AUTH_METHOD: string = "AKSK";
|
||||
|
||||
public static readonly END_POINT: string = "{endPoint}";
|
||||
}
|
||||
Reference in New Issue
Block a user