Skip to content

Commit

Permalink
Update generatePlan.js
Browse files Browse the repository at this point in the history
Changed backend host
  • Loading branch information
amariucaitheodor authored Oct 28, 2023
1 parent a8cd541 commit a8da2ff
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/actions/generatePlan.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import axios from 'axios';

export default async function plan(problem) {
const development = false;
const api = development ? 'https://solver.planning.domains' : 'https://pddl-planner-backend.herokuapp.com';
const api = development ? 'https://solver.planning.domains' : 'https://pddl-planner-backend.onrender.com';

const options = {
url: api + '/solve-and-validate',
Expand Down Expand Up @@ -37,4 +37,4 @@ export default async function plan(problem) {
}
}
});
}
}

0 comments on commit a8da2ff

Please sign in to comment.