Skip to content

Commit

Permalink
[#42] set server url on initial render
Browse files Browse the repository at this point in the history
  • Loading branch information
dedenbangkit committed Jul 11, 2023
1 parent d5bc643 commit 11ce76d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,8 @@ const App = () => {
}
const initConfig = await crudConfig.addConfig({ serverURL });
console.log('Config created', initConfig);
} else {
api.setServerURL(configExist.serverURL);
}
};

Expand Down

0 comments on commit 11ce76d

Please sign in to comment.