From a8da2ffd420a82dd05387776c8bebea82148e2d8 Mon Sep 17 00:00:00 2001 From: Theodor Amariucai <32778667+amariucaitheodor@users.noreply.github.com> Date: Sat, 28 Oct 2023 18:56:45 +0200 Subject: [PATCH] Update generatePlan.js Changed backend host --- src/actions/generatePlan.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/actions/generatePlan.js b/src/actions/generatePlan.js index 5df0660..416c488 100644 --- a/src/actions/generatePlan.js +++ b/src/actions/generatePlan.js @@ -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', @@ -37,4 +37,4 @@ export default async function plan(problem) { } } }); -} \ No newline at end of file +}