Adding buttons to market
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user