Skip to content

Commit

Permalink
adapt to dev environment
Browse files Browse the repository at this point in the history
  • Loading branch information
deleteLater committed May 5, 2022
1 parent 72e55a6 commit f418c5e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,10 @@ import { queryParams } from "./utils";
export const userName = '随机用户';// + Math.round(Math.random() * 1000);

const secret = queryParams['secret'];
const prod = queryParams['prod'];
const configBase = {
options: {
...(!prod) && {api: 'https://api-dev.featureflag.co'},
secret,
bootstrap: []
}
Expand Down

0 comments on commit f418c5e

Please sign in to comment.