|
|
@ -8,7 +8,6 @@ import ( |
|
|
|
"github.com/google/uuid" |
|
|
|
"log" |
|
|
|
"mime" |
|
|
|
"net/http" |
|
|
|
"path/filepath" |
|
|
|
) |
|
|
|
|
|
|
@ -92,7 +91,7 @@ func main() { |
|
|
|
} |
|
|
|
|
|
|
|
if extData["cookie"].(map[string]string)["extdatasessionkey"] == "" { |
|
|
|
context.SetCookie("extdatasessionkey", uuid.Must(uuid.NewUUID()).String(), 0, "", context.Request.Host, http.SameSiteLaxMode, false, false) |
|
|
|
context.SetCookie("extdatasessionkey", uuid.Must(uuid.NewUUID()).String(), 0, "", context.Request.Host, false, false) |
|
|
|
} |
|
|
|
|
|
|
|
raw, err := gv.LoadStaticResources(context.Request, extData) |
|
|
|