deploy done

This commit is contained in:
2021-11-28 01:44:07 -03:00
parent 22d0242539
commit 4727cd8a6a
4 changed files with 5 additions and 3 deletions

3
.gitignore vendored
View File

@@ -1,2 +1,3 @@
/node_modules
/package-lock.json
/package-lock.json
.vercel

View File

@@ -75,4 +75,4 @@ app.get('/', (req, res) => {
})
})
app.listen(port)
app.listen(process.env.PORT || port)

2
app.js
View File

@@ -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')

View File

@@ -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",