Skip to content

Commit

Permalink
DO NOT MERGE THIS COMMIT: Removing production layers from preproducti…
Browse files Browse the repository at this point in the history
…on environment
  • Loading branch information
willian-viana committed Nov 8, 2023
1 parent 47968e0 commit 547814d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions services/datasets.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ import { rwRequest, dataRequest } from 'utils/request';

const environmentString = () => {
const env = process.env.NEXT_PUBLIC_FEATURE_ENV;
let envString = 'production';
const envString = 'production';
if (env === 'preproduction') {
envString += ',preproduction';
return 'preproduction';
}
if (env === 'staging') {
return 'staging';
Expand Down

0 comments on commit 547814d

Please sign in to comment.