codeproof 1.1.2 → 1.2.0
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/commands/init.js +1 -1
- package/core/usageCheck.js +1 -1
- package/package.json +1 -1
- package/utils/apiClient.js +1 -1
package/commands/init.js
CHANGED
package/core/usageCheck.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import http from "http";
|
|
2
2
|
import https from "https";
|
|
3
3
|
|
|
4
|
-
const DEFAULT_API_BASE = "
|
|
4
|
+
const DEFAULT_API_BASE = "https://code-proof.onrender.com/api";
|
|
5
5
|
|
|
6
6
|
function resolveApiBase(config) {
|
|
7
7
|
const envBase = typeof process.env.CODEPROOF_API_BASE === "string"
|
package/package.json
CHANGED
package/utils/apiClient.js
CHANGED
|
@@ -4,7 +4,7 @@ import https from "https";
|
|
|
4
4
|
// Boundary: integration layer only. Must not import CLI, rule engine, or reporting.
|
|
5
5
|
// Network calls are fail-open to avoid impacting commits or developer flow.
|
|
6
6
|
|
|
7
|
-
const DEFAULT_ENDPOINT = "
|
|
7
|
+
const DEFAULT_ENDPOINT = "https://code-proof.onrender.com/api/reports";
|
|
8
8
|
|
|
9
9
|
export async function sendReportToServer(report, options = {}) {
|
|
10
10
|
const enabled = Boolean(options.enabled);
|