Skip to content

Commit 3c145ec

Browse files
authored
Refactor github-card.js for improved structure
1 parent 26c56f9 commit 3c145ec

1 file changed

Lines changed: 1 addition & 7 deletions

File tree

api/github-card.js

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,6 @@ const { wrapSVGText } = require("./utils/allFunction");
1212

1313
// =========================================
1414

15-
Canvas.registerFont(path.join(__dirname, "..", "fonts", "Arimo-Regular.ttf"), {
16-
family: "Arimo"
17-
});
18-
19-
20-
//==========================================
21-
2215
app.get("/", (req, res) => {
2316
res.send("🚀 Server berhasil dijalankan");
2417
});
@@ -155,5 +148,6 @@ module.exports = app;
155148

156149

157150

151+
158152

159153

0 commit comments

Comments
 (0)