From 9b942fb7c821fce1aabd5721c2858f43fcd249a6 Mon Sep 17 00:00:00 2001 From: Panos Syskakis <75637426+Pansysk75@users.noreply.github.com> Date: Tue, 26 Dec 2023 00:37:17 +0200 Subject: [PATCH] Fix backend url and JS button trigger --- frontend/README.md | 2 +- frontend/builds.html | 35 ++--------------------------------- frontend/src/builds.js | 9 +++++++-- frontend/src/config.js | 6 ++++++ 4 files changed, 16 insertions(+), 36 deletions(-) create mode 100644 frontend/src/config.js diff --git a/frontend/README.md b/frontend/README.md index 744e42d..7853373 100644 --- a/frontend/README.md +++ b/frontend/README.md @@ -5,6 +5,6 @@ This is the frontend of the pc components app. Instructions: Serve using python's http server: ```bash -python -m http.server --directory public 8000 +python -m http.server 8000 ``` Then navigate to `localhost:8000` in your browser. diff --git a/frontend/builds.html b/frontend/builds.html index 8296280..e10ff6f 100644 --- a/frontend/builds.html +++ b/frontend/builds.html @@ -33,43 +33,12 @@