Skip to content

Commit f504ad1

Browse files
committed
Fix : Removed config
1 parent 652029c commit f504ad1

File tree

1 file changed

+1
-21
lines changed

1 file changed

+1
-21
lines changed

gatsby-config.js

Lines changed: 1 addition & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
* governing permissions and limitations under the License.
1111
*/
1212

13-
const { createProxyMiddleware } = require("http-proxy-middleware");
13+
1414

1515
module.exports = {
1616
siteMetadata: {
@@ -227,25 +227,5 @@ module.exports = {
227227
},
228228
plugins: [`@adobe/gatsby-theme-aio`],
229229
pathPrefix: process.env.PATH_PREFIX || "/developer-console/docs/",
230-
developMiddleware: app => {
231-
app.use(
232-
"/console/api",
233-
createProxyMiddleware({
234-
target: "https://developer-stage.adobe.com/console/api",
235-
secure: false,
236-
changeOrigin: true,
237-
})
238-
);
239-
app.use("/templates", createProxyMiddleware({
240-
target: "https://developer-stage.adobe.com/templates",
241-
secure: false,
242-
changeOrigin: true,
243-
}));
244230

245-
app.use("/ims", createProxyMiddleware({
246-
target: "https://ims-na1-stg1.adobelogin.com/ims",
247-
secure: false,
248-
changeOrigin: true,
249-
}));
250-
},
251231
};

0 commit comments

Comments
 (0)