Skip to content

Commit

Permalink
Merge branch 'develop' into chore/remove-allowed-routes-for-deprecate…
Browse files Browse the repository at this point in the history
…d-query-and-fields
  • Loading branch information
kodiakhq[bot] authored Oct 19, 2024
2 parents b0cb26e + 5f3ae1c commit 544058c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 0 additions & 1 deletion apps/meteor/ee/app/license/server/index.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
import './settings';
import './methods';
import './airGappedRestrictions';
1 change: 1 addition & 0 deletions apps/meteor/ee/app/license/server/startup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,7 @@ export const startLicense = async () => {
return new Promise<void>((resolve) => {
// When settings are loaded, apply the current license if there is one.
settings.onReady(async () => {
import('./airGappedRestrictions');
if (!(await applyLicense(settings.get<string>('Enterprise_License') ?? '', false))) {
// License from the envvar is always treated as new, because it would have been saved on the setting if it was already in use.
if (process.env.ROCKETCHAT_LICENSE && !License.hasValidLicense()) {
Expand Down

0 comments on commit 544058c

Please sign in to comment.