From 9ca54c4afa276b913476883b781aa68da5f65475 Mon Sep 17 00:00:00 2001 From: machsix <28209092+machsix@users.noreply.github.com> Date: Wed, 12 Jul 2023 01:04:22 -0700 Subject: [PATCH 1/3] use Blueprint to handle static files, add "url_prefix" in config.json for reverse proxy --- client/html/index.html | 22 +++++----- client/js/chat.js | 15 +++---- config.json | 1 + run.py | 19 +++++---- server/app.py | 3 -- server/backend.py | 94 +++++++++++++++++++++--------------------- server/bp.py | 6 +++ server/website.py | 23 ++++------- 8 files changed, 92 insertions(+), 91 deletions(-) delete mode 100644 server/app.py create mode 100644 server/bp.py diff --git a/client/html/index.html b/client/html/index.html index 9e3dabcd..b2a0be6d 100644 --- a/client/html/index.html +++ b/client/html/index.html @@ -11,18 +11,18 @@ property="og:description" content="A conversational AI system that listens, learns, and challenges" /> - - - - - + + + + + FreeGPT - +