mirror of
https://github.com/versia-pub/server.git
synced 2026-04-27 20:59:15 +02:00
feat(api): 🔒 Make all media be proxied through an internal proxy
This commit is contained in:
parent
9547cd097a
commit
ead34b818f
8 changed files with 54 additions and 18 deletions
|
|
@ -1,5 +1,5 @@
|
|||
import xss, { type IFilterXSSOptions } from "xss";
|
||||
import { stringifyEntitiesLight } from "stringify-entities";
|
||||
import xss, { type IFilterXSSOptions } from "xss";
|
||||
|
||||
export const sanitizedHtmlStrip = (html: string) => {
|
||||
return sanitizeHtml(html, {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue