use js function to encode

This commit is contained in:
Toshit Chawda 2024-07-26 22:24:25 -07:00
parent 11a0c09179
commit eebefbc070
No known key found for this signature in database
GPG key ID: 91480ED99E2B3D9D
7 changed files with 41 additions and 17 deletions

View file

@ -49,6 +49,11 @@ fastify.register(fastifyStatic, {
prefix: "/scram/",
decorateReply: false,
});
fastify.register(fastifyStatic, {
root: join(fileURLToPath(new URL(".", import.meta.url)), "./assets"),
prefix: "/assets/",
decorateReply: false,
});
fastify.register(fastifyStatic, {
root: baremuxPath,
prefix: "/baremux/",