diff --git a/12345.sh b/12345.sh index d673114f..babed36b 100755 --- a/12345.sh +++ b/12345.sh @@ -31,7 +31,7 @@ ncrunning=$(ps auxf --sort=+utime | grep -w 'nc -l -p 1234' | grep -v -E 'color= # Some client needs to respect that HTTPCORS="HTTP/1.1 200 OK -Access-Control-Allow-Origin: '*' +Access-Control-Allow-Origin: \* Access-Control-Allow-Credentials: true Access-Control-Allow-Methods: GET Server: Astroport.ONE diff --git a/_12345.sh b/_12345.sh index 27b02e30..0ab32838 100755 --- a/_12345.sh +++ b/_12345.sh @@ -43,7 +43,7 @@ while true; do ipfs name publish --allow-offline /ipfs/$ROUTING HTTPCORS="HTTP/1.1 200 OK -Access-Control-Allow-Origin: '*' +Access-Control-Allow-Origin: \* Access-Control-Allow-Credentials: true Access-Control-Allow-Methods: GET Server: Astroport.ONE diff --git a/templates/index.redirect b/templates/index.redirect index 8c8b0069..d8421f69 100644 --- a/templates/index.redirect +++ b/templates/index.redirect @@ -1,5 +1,5 @@ HTTP/1.1 200 OK -Access-Control-Allow-Origin: '*' +Access-Control-Allow-Origin: * Access-Control-Allow-Credentials: true Access-Control-Allow-Methods: GET Server: Astroport