Commits

Eero Kaukonen [Atlassian]  committed c7cd813

AC-1119: adding a configuration switch for unauthorized template

  • Participants
  • Parent commits fb11274

Comments (0)

Files changed (1)

     // This is the port your Express server will listen on
     "port": 3000,
 
+    //Use 'unauthorized.hbs' template for displaying an error page
+    "errorTemplate": true,
+
     // alassian-connect-express currently integrates with JugglingDB for persistence
     // to store the host client information (i.e., client key, host public
     // key, etc). When no adapter is specified, it defaults to JugglingDB's
     // HTTP port to you via the PORT environement variable, so we configure
     // that to be honored here.
     "port": "$PORT",
+
+    //Use 'unauthorized.hbs' template for displaying an error page
+    "errorTemplate": true,
+
     // This is the public URL to your production add-on.
     "localBaseUrl": "https://your-subdomain.herokuapp.com",
     "store": {