docs: improve contribution documentation (#5540)

This commit is contained in:
Henrique Dias 2025-11-13 17:16:50 +01:00 committed by GitHub
parent 0bab2aba9e
commit 8fcfb502ca
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 62 additions and 46 deletions

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",
}