This repository was archived by the owner on Sep 22, 2021. It is now read-only.
File tree 5 files changed +2003
-1279
lines changed
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/)
19
19
20
20
## Prerequisites
21
21
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 ) .
24
24
1 . 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.
26
26
- Log in to your IBM Cloud account.
27
27
- Click ** Create** .
28
28
- Click ** Show** to view the service credentials.
@@ -93,7 +93,7 @@ You can view a [demo](https://natural-language-classifier-demo.ng.bluemix.net/)
93
93
94
94
## Deploying to IBM Cloud as a Cloud Foundry Application
95
95
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)
97
97
98
98
```
99
99
ibmcloud login
Original file line number Diff line number Diff line change @@ -22,7 +22,10 @@ const helmet = require('helmet');
22
22
23
23
module . exports = ( app ) => {
24
24
app . use ( secure ( ) ) ;
25
- app . use ( helmet ( ) ) ;
25
+ app . use ( helmet ( {
26
+ cacheControl : false ,
27
+ frameguard : false ,
28
+ } ) ) ;
26
29
27
30
app . use ( '/api/' , rateLimit ( {
28
31
windowMs : 60 * 1000 , // seconds
You can’t perform that action at this time.
0 commit comments