@abyss-project/monitor 1.0.1 → 1.0.2
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/dist/index.js +2 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -37,7 +37,7 @@ __exportStar(require("./models"), exports);
|
|
|
37
37
|
__exportStar(require("./utils"), exports);
|
|
38
38
|
__exportStar(require("./middlewares"), exports);
|
|
39
39
|
__exportStar(require("./frameworks"), exports);
|
|
40
|
-
const MONITOR_DEFAULT_BASE_URL = 'https://monitor-api.abyss-project.fr/api';
|
|
40
|
+
const MONITOR_DEFAULT_BASE_URL = 'https://monitor-api.abyss-project.fr/api/';
|
|
41
41
|
const MONITOR_DEFAULT_BASE_CLIENT_URL = 'https://abyss-project.fr/';
|
|
42
42
|
exports.API_KEY_APPLICATION_HEADER = 'abyss-monitor-api-key-application';
|
|
43
43
|
exports.ADMIN_TOKEN_HEADER = 'abyss-admin-token';
|
|
@@ -98,4 +98,4 @@ AbyssMonitorCore.config = {
|
|
|
98
98
|
getWebhookUrl: async () => null,
|
|
99
99
|
};
|
|
100
100
|
AbyssMonitorCore.StatsPublisher = stats_publisher_model_1.StatsPublisher;
|
|
101
|
-
AbyssMonitorCore.axios = axios_1.default.create({ baseURL:
|
|
101
|
+
AbyssMonitorCore.axios = axios_1.default.create({ baseURL: _a.config.baseURL });
|