mirror of
https://github.com/yinxin630/fiora.git
synced 2026-06-04 21:03:18 +08:00
* Refactor as monorepo * Fix server * Fix client * Fix not fire message event error * Fix CI scripts * Update install doc * Fix bin * Refactored the directory structure to the final version * Fix ts type error * Fix lint error * Fix unit test error * Update .gitignore
10 lines
154 B
TypeScript
10 lines
154 B
TypeScript
import xss from 'xss';
|
|
|
|
/**
|
|
* xss防护
|
|
* @param text 要处理的文字
|
|
*/
|
|
export default function processXss(text: string) {
|
|
return xss(text);
|
|
}
|