module.exports =
{
// For mail sending. NOTE: *no trailing slash*
- siteURL: "http://localhost:3000",
+ siteURL: "http://localhost:8080",
// To know in which environment the code run
env: process.env.NODE_ENV || 'development',
+
+ // CORS: cross-origin resource sharing options
+ cors: {
+ enable: true,
+ allowedOrigin: "http://localhost:8080",
+ },
// Lifespan of a (login) cookie
cookieExpire: 183*24*60*60*1000, //6 months in milliseconds