From b565b97bf0087920b67e4ae4ae6338ebf077a086 Mon Sep 17 00:00:00 2001 From: "Gustavo S. de Paula" Date: Sun, 29 Mar 2020 20:17:33 -0300 Subject: [PATCH] Change api url --- frontend/src/services/api.js | 2 +- package.json | 23 ----------------------- 2 files changed, 1 insertion(+), 24 deletions(-) delete mode 100644 package.json diff --git a/frontend/src/services/api.js b/frontend/src/services/api.js index c53aa81..c8121ed 100644 --- a/frontend/src/services/api.js +++ b/frontend/src/services/api.js @@ -1,7 +1,7 @@ import axios from 'axios' const api = axios.create({ - baseURL: "http://localhost:3333", + baseURL: "https://backend-bethehero-gsp.herokuapp.com", }) export default api; \ No newline at end of file diff --git a/package.json b/package.json deleted file mode 100644 index 0a0b8fa..0000000 --- a/package.json +++ /dev/null @@ -1,23 +0,0 @@ -{ - "name": "bethehero", - "version": "1.0.0", - "main": "backend/src/server.js", - "author": "Gustavo S. de Paula", - "license": "MIT", - "dependencies": { - "celebrate": "^12.0.1", - "cors": "^2.8.5", - "cross-env": "^7.0.2", - "express": "^4.17.1", - "knex": "^0.20.13", - "sqlite3": "^4.1.1" - }, - "scripts": { - "start": "cross-env NODE_ENV=production knex migrate:latest" - }, - "devDependencies": { - "nodemon": "^2.0.2", - "supertest": "^4.0.2", - "jest": "^25.2.3" - } -}