Skip to content

Commit

Permalink
fix: failed ci
Browse files Browse the repository at this point in the history
  • Loading branch information
dadiorchen committed Aug 3, 2023
1 parent d88ae76 commit f335619
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/_app.js
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ TreetrackerApp.getInitialProps = async (context) => {
const device = userAgentFromString(userAgent)?.device.type || 'desktop';

let config = defaultConfig;
if (!process.env.NEXT_PUBLIC_SERVER_CONFIG_DISABLED) {
if (process.env.NEXT_PUBLIC_SERVER_CONFIG_DISABLED !== 'true') {
const mapConfigRequest = await fetch(
// TODO: use the ENV var, currently results in a bug with the theme editor
// `${process.env.NEXT_PUBLIC_CONFIG_API}/config`,
Expand Down

0 comments on commit f335619

Please sign in to comment.