Skip to content

🎥 Make videos programmatically with React

licensing prod domain

Jonny Burgerf47537801aba
diff --git a/packages/licensing/package.json b/packages/licensing/package.json
index 6379b2191a..c416e0f1b0 100644
--- a/packages/licensing/package.json
+++ b/packages/licensing/package.json
@@ -10,7 +10,8 @@
"scripts": {
"lint": "eslint src",
"formatting": "prettier src --check",
- "make": "tsc -d && bun --env-file=../.env.bundle bundle.ts"
+ "make": "tsc -d && bun --env-file=../.env.bundle bundle.ts",
+ "test": "bun test src/test/prod-domain.test.ts"
},
"author": "Jonny Burger <[email protected]>",
"contributors": [],
diff --git a/packages/licensing/src/register-usage-point.ts b/packages/licensing/src/register-usage-point.ts
index 73bfa5f9fc..79311e7967 100644
--- a/packages/licensing/src/register-usage-point.ts
+++ b/packages/licensing/src/register-usage-point.ts
@@ -1,4 +1,4 @@
-export const HOST = 'http://localhost:51748/';
+export const HOST = 'https://remotion.pro';
type ApiResponse =
| {
diff --git a/packages/licensing/src/test/prod-domain.test.ts b/packages/licensing/src/test/prod-domain.test.ts
new file mode 100644
index 0000000000..3d603183fb
--- /dev/null
+++ b/packages/licensing/src/test/prod-domain.test.ts
@@ -0,0 +1,6 @@
+import {expect, test} from 'bun:test';
+import {HOST} from '../register-usage-point';
+
+test('should point to prod domain', () => {
+ expect(HOST).toEqual('https://remotion.pro');
+});