aboutsummaryrefslogtreecommitdiff
path: root/backend/cgi-bin/data.py
AgeCommit message (Collapse)Author
2022-07-08Add basic conversion to POST requeststest-post-reqsTerry Truong
Using fetch() sent a CORS preflight request, which python's basic server couldn't understand. Using fetch()'s 'no-cors' option seems to just fail. Ended up using Vite's proxy functionality again. CGI script also got unexpected empty command line argument.
2022-07-01Account for compound-node info-lookup sub-name-denoted node absenceTerry Truong
Return a null entry in such cases, and have client indicate this with tile-info message.
2022-07-01Generate 3 reduced trees, keeping the original, and serve only thoseTerry Truong
Generate a 'trimmed' reduced tree instead of changing the original. Generate an 'images-only' reduced tree, and use it as the default. Combine 'picked' reduced tree code with that of other reduced trees. Adapt server API to allow selecting between more than 2 trees. Add client setting for selecting between 3 trees.
2022-06-28Add getImagePath() to lib.tsTerry Truong
2022-06-28Convert server code to CGI scriptdeployableTerry Truong
Also adjust server-client API, for clarity/consistency