big fuck up

This commit is contained in:
Jonny_Bro (Nikita) 2024-06-15 21:39:11 +05:00
parent 7a280b204c
commit 9197167f41
Signed by: jonny_bro
GPG key ID: 3F1ECC04147E9BD8

View file

@ -1,6 +1,6 @@
const moment = require("moment"),
resolve = require("path"),
Canvas = require("@napi-rs/canvas");
Canvas = require("@napi-rs/canvas"),
{ resolve } = require("path");
Canvas.registerFont(resolve("./assets/fonts/RubikMonoOne-Regular.ttf"), { family: "RubikMonoOne" });
Canvas.registerFont(resolve("./assets/fonts/KeepCalm-Medium.ttf"), { family: "KeepCalm" });