mirror of
https://github.com/FranP-code/Show-multiplication-tables-CLI-Tool.git
synced 2025-10-12 23:52:32 +00:00
deploy done
This commit is contained in:
3
.gitignore
vendored
3
.gitignore
vendored
@@ -1,2 +1,3 @@
|
||||
/node_modules
|
||||
/package-lock.json
|
||||
/package-lock.json
|
||||
.vercel
|
||||
|
||||
@@ -75,4 +75,4 @@ app.get('/', (req, res) => {
|
||||
})
|
||||
})
|
||||
|
||||
app.listen(port)
|
||||
app.listen(process.env.PORT || port)
|
||||
2
app.js
2
app.js
@@ -1,4 +1,4 @@
|
||||
const url = 'http://localhost:3001'
|
||||
const url = 'https://multiplication-table-api.herokuapp.com'
|
||||
|
||||
const axios = require('axios')
|
||||
const colors = require('colors')
|
||||
|
||||
@@ -5,6 +5,7 @@
|
||||
"main": "app.js",
|
||||
"scripts": {
|
||||
"api": "nodemon ./API/returnMultiplicationTables.js",
|
||||
"start": "node ./API/returnMultiplicationTables.js",
|
||||
"tool": "node app.js"
|
||||
},
|
||||
"author": "FranP-Code",
|
||||
|
||||
Reference in New Issue
Block a user