http.js: Fix wrong pathname for SplitRemplissage

This commit is contained in:
Eric NGUYEN 2022-08-03 15:16:54 +02:00
parent 1f1babe49f
commit 0bf6b173f4

View file

@ -12,7 +12,7 @@ serve({
json = JSON.stringify(GetSVGLayoutConfiguration()); json = JSON.stringify(GetSVGLayoutConfiguration());
} else if (url.pathname === 'FillHoleWithChassis') { } else if (url.pathname === 'FillHoleWithChassis') {
json = JSON.stringify(FillHoleWithChassis(request)); json = JSON.stringify(FillHoleWithChassis(request));
} else if (url.pathname === 'FillHoleWithChassis') { } else if (url.pathname === 'SplitRemplissage') {
json = JSON.stringify(SplitRemplissage(request)); json = JSON.stringify(SplitRemplissage(request));
} else { } else {
// TODO: Return 404 rather than this // TODO: Return 404 rather than this