open-webui/backend/open_webui
Diwakar 541ff6b41a
Feature to set HTTP header "Content-Security-Policy"
Introduce CONTENT_SECURITY_POLICY environment variable to set HTTP header "Content-Security-Policy".

Content Security Policy (CSP) is a feature that helps to prevent or minimize the risk of certain types of security threats. It consists of a series of instructions from a website to a browser, which instruct the browser to place restrictions on the things that the code comprising the site is allowed to do.
https://developer.mozilla.org/en-US/docs/Web/HTTP/CSP
2024-11-30 21:31:54 +07:00
..
apps Merge pull request #7422 from alpha-pet/feat-youtube-transscript-proxy 2024-11-29 12:40:46 -08:00
data refac: mv backend files to /open_webui dir 2024-09-04 16:54:48 +02:00
migrations refac: migration 2024-11-16 14:56:00 -08:00
static revert: pdf gen 2024-10-13 00:05:28 -07:00
storage fix: s3 file path 2024-11-03 01:07:43 -08:00
test chore: rm documents 2024-10-08 13:38:16 -07:00
utils Feature to set HTTP header "Content-Security-Policy" 2024-11-30 21:31:54 +07:00
__init__.py fix: dev2 2024-09-24 16:19:24 +02:00
alembic.ini dev5 2024-09-04 17:33:39 +02:00
config.py enh: autocompletion 2024-11-30 00:29:27 -08:00
constants.py feat: autocomplete backend endpoint 2024-11-28 23:53:52 -08:00
env.py refac 2024-11-29 01:10:46 -08:00
main.py enh: autocompletion 2024-11-30 00:29:27 -08:00