Skip to content

Commit

Permalink
No TS
Browse files Browse the repository at this point in the history
  • Loading branch information
sthewissen committed Dec 3, 2024
1 parent b0d6aaf commit 1d56ee1
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 7 deletions.
2 changes: 1 addition & 1 deletion src/configLoader.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import path from 'path';

async function loadConfig() {
const conference = baseConfig.USE_CONFIG || 'default';
const configPath = path.resolve('src/data/configs', `${conference}-config.ts`);
const configPath = path.resolve('src/data/configs', `${conference}-config.mjs`);

try {
// Dynamically import the specific configuration file
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
import type { Sponsor } from '../../types';

export default {
name: "",
sessionizeId: "8cknf5zh",
Expand Down Expand Up @@ -46,6 +44,6 @@ export default {
logo: "sessionize",
url: "https://sessionize.com",
},
] as Sponsor[],
],
};

Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
import type { Sponsor } from '../../types';

export default {
name: "",
sessionizeId: "8cknf5zh",
Expand Down Expand Up @@ -36,6 +34,6 @@ export default {
logo: "sessionize",
url: "https://sessionize.com",
},
] as Sponsor[],
],
};

0 comments on commit 1d56ee1

Please sign in to comment.