Replaced a new base url

This commit is contained in:
Sambo Chea 2023-08-28 10:18:18 +07:00
parent d00bdcb4e7
commit c0891962b3
Signed by: sombochea
GPG Key ID: 3C7CF22A05D95490
2 changed files with 4 additions and 4 deletions

View File

@ -1,6 +1,6 @@
{
"name": "@cubetiq/vlogs",
"version": "0.0.1",
"version": "0.0.2",
"description": "A simple way to collect logs and send to the server via simple SDK.",
"main": "dist/index.js",
"private": false,

View File

@ -5,9 +5,9 @@ import { getSystemHostname, getSystemUsername } from "./util";
export class VLogs {
private static readonly _logger = console;
private static readonly NAME = 'vlogs';
private static readonly VERSION = '0.0.1';
private static readonly VERSION_CODE = '1';
private static readonly DEFAULT_VLOGS_URL = 'https://vlogs-sg1.onrender.com';
private static readonly VERSION = '0.0.2';
private static readonly VERSION_CODE = '2';
private static readonly DEFAULT_VLOGS_URL = 'https://hsg1-vlogs.ctdn.net';
private static readonly APP_ID_HEADER_PREFIX = 'x-app-id';
private static readonly API_KEY_HEADER_PREFIX = 'x-api-key';
private static readonly DEFAULT_CONNECT_TIMEOUT = 60; // seconds