From 11d5d6254ad0f938afc2f4081c783800c200b234 Mon Sep 17 00:00:00 2001 From: efim Date: Sun, 24 Sep 2023 20:22:15 +0000 Subject: [PATCH] fix: swap beforeend to prevent nesting main and url push from the server, because requesting cards now done on a separate endpoint --- .../src/main/resources/templates/index.html | 4 +-- .../src/main/scala/example/Routes.scala | 25 +++++++++++++------ 2 files changed, 18 insertions(+), 11 deletions(-) diff --git a/16-countries-page-from-api/src/main/resources/templates/index.html b/16-countries-page-from-api/src/main/resources/templates/index.html index 6916b76..88f2dfa 100644 --- a/16-countries-page-from-api/src/main/resources/templates/index.html +++ b/16-countries-page-from-api/src/main/resources/templates/index.html @@ -78,10 +78,8 @@