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
migrations refac: migration 2024-11-16 14:56:00 -08:00
static
storage fix: s3 file path 2024-11-03 01:07:43 -08:00
test
utils Feature to set HTTP header "Content-Security-Policy" 2024-11-30 21:31:54 +07:00
__init__.py
alembic.ini
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