You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Move the code and assets in www to the templates and static directories.
Rewrite server.py: @app.get('/') to serve the front-end.
TODO
Remove the www directory.
Update the code that parses Spotbit responses (use Typescript where possible).
templates/index.html uses a proxy.php endpoint. This should instead use the new Spotbit endpoints (whose documentation can be found at the /docs endpoint of a running Spotbit instance).
Update installSpotbit.sh or add documentation that describes how to host the front-end in clearnet using Apache or some other reverse proxy e.g. Caddy. (see https://fastapi.tiangolo.com/deployment/)
Currently, the web front end is in the
wwwdirectory. It has to be deployed separately from the Spotbit server.We would like this web front-end to be served from Spotbit servers
/. That is:Done in #79
wwwto thetemplatesandstaticdirectories.server.py: @app.get('/')to serve the front-end.TODO
wwwdirectory.proxy.phpendpoint. This should instead use the new Spotbit endpoints (whose documentation can be found at the/docsendpoint of a running Spotbit instance).installSpotbit.shor add documentation that describes how to host the front-end in clearnet using Apache or some other reverse proxy e.g. Caddy. (see https://fastapi.tiangolo.com/deployment/)