mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
ui: markdown: use new qface endpoint
This commit is contained in:
1 file changed
+1
-1
@@ -16,7 +16,7 @@ function emoji(range) {
|
|||||||
|
|
||||||
function qqEmoji(range) {
|
function qqEmoji(range) {
|
||||||
return qface.data.flatMap((i) => {
|
return qface.data.flatMap((i) => {
|
||||||
const url = qface.getUrl(i.QSid, 'https://qq-face.vercel.app');
|
const url = qface.getUrl(i.QSid, 'https://koishi.js.org/QFace');
|
||||||
return [i.QDes.substring(1), ...(i.Input || [])].map((input) => ({
|
return [i.QDes.substring(1), ...(i.Input || [])].map((input) => ({
|
||||||
label: `/${input}`,
|
label: `/${input}`,
|
||||||
kind: monaco.languages.CompletionItemKind.Keyword,
|
kind: monaco.languages.CompletionItemKind.Keyword,
|
||||||
|
|||||||
Reference in new issue
Block a user