This repository was archived by the owner on Sep 22, 2021. It is now read-only.
File tree Expand file tree Collapse file tree 5 files changed +2003
-1279
lines changed Expand file tree Collapse file tree 5 files changed +2003
-1279
lines changed Original file line number Diff line number Diff line change @@ -19,10 +19,10 @@ You can view a [demo](https://natural-language-classifier-demo.ng.bluemix.net/)
1919
2020## Prerequisites
2121
22- 1 . Sign up for an [ IBM Cloud account] ( https://console.bluemix.net /registration/ ) .
23- 1 . Download the [ IBM Cloud CLI] ( https://console.bluemix.net /docs/cli/index.html#overview ) .
22+ 1 . Sign up for an [ IBM Cloud account] ( https://cloud.ibm.com /registration/ ) .
23+ 1 . Download the [ IBM Cloud CLI] ( https://cloud.ibm.com /docs/cli/index.html#overview ) .
24241 . Create an instance of the Natural Language Classifier service and get your credentials:
25- - Go to the [ Natural Language Classifier] ( https://console.bluemix.net /catalog/services/natural-language-classifier ) page in the IBM Cloud Catalog.
25+ - Go to the [ Natural Language Classifier] ( https://cloud.ibm.com /catalog/services/natural-language-classifier ) page in the IBM Cloud Catalog.
2626 - Log in to your IBM Cloud account.
2727 - Click ** Create** .
2828 - Click ** Show** to view the service credentials.
@@ -93,7 +93,7 @@ You can view a [demo](https://natural-language-classifier-demo.ng.bluemix.net/)
9393
9494## Deploying to IBM Cloud as a Cloud Foundry Application
9595
96- 1. Login to IBM Cloud with the [IBM Cloud CLI](https://console.bluemix.net /docs/cli/index.html#overview)
96+ 1. Login to IBM Cloud with the [IBM Cloud CLI](https://cloud.ibm.com /docs/cli/index.html#overview)
9797
9898 ```
9999 ibmcloud login
Original file line number Diff line number Diff line change @@ -22,7 +22,10 @@ const helmet = require('helmet');
2222
2323module . exports = ( app ) => {
2424 app . use ( secure ( ) ) ;
25- app . use ( helmet ( ) ) ;
25+ app . use ( helmet ( {
26+ cacheControl : false ,
27+ frameguard : false ,
28+ } ) ) ;
2629
2730 app . use ( '/api/' , rateLimit ( {
2831 windowMs : 60 * 1000 , // seconds
You can’t perform that action at this time.
0 commit comments