Adding buttons to market

This commit is contained in:
metacryst
2025-11-06 02:22:44 -06:00
parent 8a8fb7f4b1
commit cb526b5ec0
5 changed files with 54 additions and 31 deletions

View File

@@ -118,7 +118,7 @@ func handleSite(w http.ResponseWriter, r *http.Request) {
func serveSiteFiles(w http.ResponseWriter, r *http.Request) {
path := r.URL.Path
if(strings.Contains(path, "75820185")) {
if(strings.Contains(path, "75820185")) { // necessary because, if we are at a url path 2 layers or more, the browser will insert that path at the beginning of the url
_, after, _ := strings.Cut(path, "75820185")
path = after
} else {