Skip to content
This repository was archived by the owner on Oct 18, 2024. It is now read-only.

Commit

Permalink
Merge pull request #702 from SuperViz/fix/kick-participant-interval
Browse files Browse the repository at this point in the history
fix: local remote config file load
  • Loading branch information
carlossantos74 authored Jul 1, 2024
2 parents b3c453c + d4e25af commit 5845883
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 0 additions & 2 deletions .esbuild/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,6 @@ const esmConfig = {
splitting: true,
format: 'esm',
define: { global: 'window', 'process.env': JSON.stringify(env) },
target: ['esnext'],
chunkNames: 'chunks/[name]-[hash]',
};

const cjsConfig = {
Expand Down
4 changes: 2 additions & 2 deletions src/services/remote-config-service/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ export default class RemoteConfigService {
const { version } = await import('../../../.version.js');

if (environment === EnvironmentTypes.LOCAL) {
const { remoteConfig } = await import('../../../.remote-config.js');
return remoteConfig;
const all = await import('../../../.remote-config.js');
return all.default.remoteConfig;
}
const remoteConfigParams: RemoteConfigParams = {
version,
Expand Down

0 comments on commit 5845883

Please sign in to comment.