Skip to content

📈 Open source, privacy-first web analytics — a cookie-less Google Analytics alternative with built-in error tracking and performance monitoring. Self-host it or use our cloud. Get started for free!

Fix broken PRODUCTION_ORIGIN

Blue Mouse399eca51a0a9
diff --git a/backend/apps/cloud/src/organisation/organisation.controller.ts b/backend/apps/cloud/src/organisation/organisation.controller.ts
index 75c94ffdd..6888deab2 100644
--- a/backend/apps/cloud/src/organisation/organisation.controller.ts
+++ b/backend/apps/cloud/src/organisation/organisation.controller.ts
@@ -41,9 +41,9 @@ import { Auth } from '../auth/decorators'
import { Pagination } from '../common/pagination'
import { ProjectService } from '../project/project.service'
import { Project } from '../project/entity'
+import { isDevelopment, PRODUCTION_ORIGIN } from '../common/constants'
const ORGANISATION_INVITE_EXPIRE = 7 * 24 // 7 days in hours
-const { PRODUCTION_ORIGIN, isDevelopment } = process.env
@Controller('organisation')
export class OrganisationController {