Skip to content

Commit

Permalink
setup on config
Browse files Browse the repository at this point in the history
  • Loading branch information
dharmesh-hemaram committed Oct 13, 2023
1 parent 4bedb96 commit eaa465c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/acf-extension/src/content_scripts/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ async function loadConfig(loadType: LOAD_TYPES) {
new ConfigStorage().getConfig().then(async (config?: Configuration) => {
if (config) {
if (config.loadType === loadType) {
sentryInit();
const { host } = document.location;
Logger.color(chrome.runtime.getManifest().name, undefined, LoggerColor.PRIMARY, host, loadType);
await ConfigProcessor.checkStartType(config);
Expand All @@ -34,7 +35,6 @@ async function loadConfig(loadType: LOAD_TYPES) {
}

document.addEventListener('DOMContentLoaded', () => {
sentryInit();
Session.check();
loadConfig(LOAD_TYPES.DOCUMENT);
});
Expand Down

0 comments on commit eaa465c

Please sign in to comment.