Skip to content

Commit

Permalink
fix default api url
Browse files Browse the repository at this point in the history
  • Loading branch information
pk910 committed Jun 23, 2024
1 parent 0b174a8 commit 27c2da8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion faucet-client/src/components/FaucetPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,8 @@ export class FaucetPage extends React.PureComponent<IFaucetPageProps, IFaucetPag
constructor(props: IFaucetPageProps, state: IFaucetPageState) {
super(props);

let faucetApi = new FaucetApi(props.apiUrl);
let baseUrl = props.baseUrl || "/";
let faucetApi = new FaucetApi(props.apiUrl || joinUrl(baseUrl, "/api"));
this.pageContext = {
faucetUrls: {
baseUrl: baseUrl,
Expand Down

0 comments on commit 27c2da8

Please sign in to comment.