mirror of
https://github.com/open-webui/open-webui
synced 2024-12-28 23:02:25 +00:00
541ff6b41a
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 |
||
---|---|---|
.. | ||
apps | ||
data | ||
migrations | ||
static | ||
storage | ||
test | ||
utils | ||
__init__.py | ||
alembic.ini | ||
config.py | ||
constants.py | ||
env.py | ||
main.py |