Fix getstarted undefined referrer issue with IPDB (#1866)

Skip Referer check on preflight request (OPTIONS) and set Referrer-Policy to origin-when-cross-origin in response to OPTIONS request. Once Referrer-Policy is set on the subsequent POST request referrer is set by the browser to expected value.
This commit is contained in:
Shahbaz Nazir
2017-11-17 20:35:57 +01:00
committed by GitHub
parent f53eb1e3e7
commit bc4f8fcab5
4 changed files with 19 additions and 8 deletions

View File

@@ -1,5 +1,5 @@
#!/bin/bash
docker build -t bigchaindb/nginx-https-web-proxy:0.10 .
docker build -t bigchaindb/nginx-https-web-proxy:0.12 .
docker push bigchaindb/nginx-https-web-proxy:0.10
docker push bigchaindb/nginx-https-web-proxy:0.12