modify /csp_violations
parent
c5634cac78
commit
38fe32703e
|
@ -360,8 +360,10 @@ def donate(v):
|
||||||
# @limiter.limit("10/minute;50/day")
|
# @limiter.limit("10/minute;50/day")
|
||||||
# def csp_violations():
|
# def csp_violations():
|
||||||
# content = request.get_json(force=True)['csp-report']
|
# content = request.get_json(force=True)['csp-report']
|
||||||
# print('--------', flush=True)
|
# if content.get('source-file').startswith(SITE_FULL):
|
||||||
# for k, val in content.items():
|
# print('--------', flush=True)
|
||||||
# print(f"{k}: {val}", flush=True)
|
# for k, val in content.items():
|
||||||
# print('--------', flush=True)
|
# if k != 'original-policy':
|
||||||
|
# print(f"{k}: {val}", flush=True)
|
||||||
|
# print('--------', flush=True)
|
||||||
# return ''
|
# return ''
|
||||||
|
|
Loading…
Reference in New Issue