We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 87c870a commit d23684dCopy full SHA for d23684d
examples/js/express/mysql/app.js
@@ -34,7 +34,6 @@ const pool = mysql.createPool({
34
})
35
36
routes.register(app, pool)
37
-
38
custom_routes.register(app, pool)
39
40
const port = process.env.PORT || 3000
src/templates/app.js.ejs
@@ -48,7 +48,7 @@ const pool = mysql.createPool({
48
49
<% customRouteFilenames.forEach(filename => {
50
const routerName = removeExtension(filename)
51
-%>
+-%>
52
<%- routerName %>.register(app, pool)
53
<% }) -%>
54
0 commit comments