docs: fix relative paths in docs

This commit is contained in:
Nolan Lawson 2020-06-22 00:26:19 -07:00
parent ec0e2be501
commit 6fc859f536
3 changed files with 3 additions and 3 deletions

View File

@ -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

View File

@ -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 = []
}