mirror of
https://iceshrimp.dev/crimekillz/iceshrimp-161sh.git
synced 2024-11-21 19:53:50 +01:00
fix pnp emoji stuff
This commit is contained in:
parent
ad2a7d7c57
commit
748bbdf6a3
1
.gitignore
vendored
1
.gitignore
vendored
@ -71,6 +71,7 @@ pnpm*
|
|||||||
!.yarn/releases
|
!.yarn/releases
|
||||||
!.yarn/sdks
|
!.yarn/sdks
|
||||||
!.yarn/versions
|
!.yarn/versions
|
||||||
|
!.yarn/unplugged/@discordapp-twemoji-npm-14.1.2-3097b95b97
|
||||||
|
|
||||||
# Nix Development shell items
|
# Nix Development shell items
|
||||||
.devenv
|
.devenv
|
||||||
|
BIN
.yarn/cache/@esbuild-linux-x64-npm-0.18.17-2d9862a919-8.zip
(Stored with Git LFS)
vendored
Normal file
BIN
.yarn/cache/@esbuild-linux-x64-npm-0.18.17-2d9862a919-8.zip
(Stored with Git LFS)
vendored
Normal file
Binary file not shown.
3
.yarn/cache/@msgpackr-extract-msgpackr-extract-linux-x64-npm-3.0.2-262fca760d-8.zip
vendored
Normal file
3
.yarn/cache/@msgpackr-extract-msgpackr-extract-linux-x64-npm-3.0.2-262fca760d-8.zip
vendored
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:d362d2c9cc4dd3e3c5bb5b9dc0fe8953685f63ecd641ad65a03ba5f476ebb58b
|
||||||
|
size 21598
|
BIN
.yarn/cache/@rometools-cli-linux-x64-npm-12.1.3-a343b37dfc-8.zip
(Stored with Git LFS)
vendored
Normal file
BIN
.yarn/cache/@rometools-cli-linux-x64-npm-12.1.3-a343b37dfc-8.zip
(Stored with Git LFS)
vendored
Normal file
Binary file not shown.
BIN
.yarn/cache/@swc-core-linux-x64-gnu-npm-1.3.71-ac9ffba6fa-8.zip
(Stored with Git LFS)
vendored
Normal file
BIN
.yarn/cache/@swc-core-linux-x64-gnu-npm-1.3.71-ac9ffba6fa-8.zip
(Stored with Git LFS)
vendored
Normal file
Binary file not shown.
@ -69,5 +69,10 @@
|
|||||||
"start-server-and-test": "1.15.2",
|
"start-server-and-test": "1.15.2",
|
||||||
"typescript": "5.1.6"
|
"typescript": "5.1.6"
|
||||||
},
|
},
|
||||||
"packageManager": "yarn@3.6.1"
|
"packageManager": "yarn@3.6.1",
|
||||||
|
"dependenciesMeta": {
|
||||||
|
"@discordapp/twemoji@14.1.2": {
|
||||||
|
"unplugged": true
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
@ -155,7 +155,7 @@ router.get("/twemoji/(.*)", async (ctx) => {
|
|||||||
);
|
);
|
||||||
|
|
||||||
await send(ctx as any, path, {
|
await send(ctx as any, path, {
|
||||||
root: `${_dirname}/../../../node_modules/@discordapp/twemoji/dist/svg/`,
|
root: `${_dirname}/../../../.yarn/unplugged/@discordapp-twemoji-npm-14.1.2-3097b95b97/dist/svg/`,
|
||||||
maxage: 30 * DAY,
|
maxage: 30 * DAY,
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
@ -169,7 +169,7 @@ router.get("/twemoji-badge/(.*)", async (ctx) => {
|
|||||||
}
|
}
|
||||||
|
|
||||||
const mask = await sharp(
|
const mask = await sharp(
|
||||||
`${_dirname}/../../../node_modules/@discordapp/twemoji/dist/svg/${path.replace(
|
`${_dirname}/../../../.yarn/unplugged/@discordapp-twemoji-npm-14.1.2-3097b95b97/dist/svg/${path.replace(
|
||||||
".png",
|
".png",
|
||||||
"",
|
"",
|
||||||
)}.svg`,
|
)}.svg`,
|
||||||
|
@ -12146,6 +12146,9 @@ __metadata:
|
|||||||
seedrandom: ^3.0.5
|
seedrandom: ^3.0.5
|
||||||
start-server-and-test: 1.15.2
|
start-server-and-test: 1.15.2
|
||||||
typescript: 5.1.6
|
typescript: 5.1.6
|
||||||
|
dependenciesMeta:
|
||||||
|
"@discordapp/twemoji@14.1.2":
|
||||||
|
unplugged: true
|
||||||
languageName: unknown
|
languageName: unknown
|
||||||
linkType: soft
|
linkType: soft
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user