1. Atlassian
  2. Atlassian Connect
  3. atlassian-connect-express-template


[OoO until 15.2.] Eero Kaukonen  committed c7cd813

AC-1119: adding a configuration switch for unauthorized template

  • Participants
  • Parent commits fb11274
  • Branches master

Comments (0)

Files changed (1)

File config.json

View file
     // 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": {