mirror of
https://github.com/khoj-ai/khoj.git
synced 2024-12-20 03:17:44 +00:00
86a3505d89
Given img src enforcement via CSP required loosening. Soft enforce it via a regex replace of img HTML elements if the src isn't from the whitelisted set of source prefixes. Currently allowed source prefixes are - app: for local images - data: for inline generated images - https://generated.khoj.dev: for cloud generated images |
||
---|---|---|
.. | ||
src | ||
.editorconfig | ||
.eslintignore | ||
.eslintrc | ||
.gitignore | ||
.npmrc | ||
esbuild.config.mjs | ||
LICENSE | ||
manifest.json | ||
package.json | ||
styles.css | ||
tsconfig.json | ||
version-bump.mjs | ||
versions.json | ||
yarn.lock |