Skip to content
Snippets Groups Projects
Commit 2ae73aef authored by Renzo Mauro Ontivero's avatar Renzo Mauro Ontivero
Browse files

Deployando a heroku

parent b267446a
No related branches found
No related tags found
No related merge requests found
......@@ -221,7 +221,7 @@ module.exports = {
* *
***************************************************************************/
cookie: {
// secure: true,
secure: true,
maxAge: 24 * 60 * 60 * 1000, // 24 hours
},
......@@ -250,10 +250,10 @@ module.exports = {
* > Be sure to use the right protocol! ("http://" vs. "https://") *
* *
***************************************************************************/
// onlyAllowOrigins: [
// 'https://example.com',
// 'https://staging.example.com',
// ],
onlyAllowOrigins: [
'https://tsa-api-rest.herokuapp.com/',
'http://tsa-api-rest.herokuapp.com/',
],
/***************************************************************************
......@@ -322,7 +322,7 @@ module.exports = {
* (https://sailsjs.com/config/http) *
* *
***************************************************************************/
// trustProxy: true,
trustProxy: true,
},
......@@ -371,7 +371,7 @@ module.exports = {
* *
***************************************************************************/
custom: {
baseUrl: 'https://example.com',
baseUrl: 'https://tsa-api-rest.herokuapp.com/',
internalEmailAddress: 'support@example.com',
// mailgunDomain: 'mg.example.com',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment