docs: fix relative paths in docs
This commit is contained in:
parent
ec0e2be501
commit
6fc859f536
|
@ -33,7 +33,7 @@ async function main () {
|
|||
customEmojis.push({
|
||||
name,
|
||||
shortcodes: [name],
|
||||
url: `/custom/${basename}`,
|
||||
url: `./custom/${basename}`,
|
||||
category: categoryName
|
||||
})
|
||||
await copyFile(file, `./docs/custom/${basename}`)
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -171,7 +171,7 @@
|
|||
})
|
||||
$('#custom').addEventListener('change', async e => {
|
||||
if (e.target.checked) {
|
||||
picker.customEmoji = await (await fetch('/custom.json')).json()
|
||||
picker.customEmoji = await (await fetch('./custom.json')).json()
|
||||
} else {
|
||||
picker.customEmoji = []
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue