docs: improve contribution documentation (#5540)

This commit is contained in:
Henrique Dias authored and GitHub committed 2025-11-13 17:16:50 +01:00
1 parent 0bab2aba9e
commit 8fcfb502ca
4 files changed
+62 -46

No files matched your search

-14
View File
@@ -1,14 +0,0 @@
//go:build dev
package http
// global headers to append to every response
// cross-origin headers are necessary to be able to
// access them from a different URL during development
var globalHeaders = map[string]string{
"Cache-Control": "no-cache, no-store, must-revalidate",
"Access-Control-Allow-Origin": "*",
"Access-Control-Allow-Headers": "*",
"Access-Control-Allow-Methods": "*",
"Access-Control-Allow-Credentials": "true",
}