Skip to content
This repository was archived by the owner on Sep 22, 2021. It is now read-only.

Commit 3956cf4

Browse files
Merge pull request #64 from watson-developer-cloud/update-dep-iframe
fix: Update dependencies and allow iframes
2 parents e1ae5ad + 40d03dc commit 3956cf4

File tree

5 files changed

+2003
-1279
lines changed

5 files changed

+2003
-1279
lines changed

Diff for: README.md

+4-4
Original file line numberDiff line numberDiff 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).
2424
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.
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

Diff for: config/security.js

+4-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,10 @@ const helmet = require('helmet');
2222

2323
module.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

0 commit comments

Comments
 (0)