Skip to content

Commit

Permalink
disable fesr
Browse files Browse the repository at this point in the history
  • Loading branch information
gregorwolf committed Mar 13, 2024
1 parent cb53a43 commit 10fc888
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 deletions.
2 changes: 2 additions & 0 deletions HTML5Module/webapp/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>HTML5 User API for Cloud Foundry</title>
<meta name="sap.allowlistService" content="/allowlist/service" />
<!--
<meta name="sap-ui-fesr" content="/fesr" />
-->
<script
id="sap-ui-bootstrap"
src="https://ui5.sap.com/1.120/resources/sap-ui-core.js"
Expand Down
2 changes: 1 addition & 1 deletion mta.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
ID: html5userapi
_schema-version: "2.1"
version: 0.4.2
version: 0.4.3
parameters:
enable-parallel-deployments: true

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "html5userapi-cf",
"version": "0.4.2",
"version": "0.4.3",
"description": "HTML5 User API for Cloud Foundry",
"repository": "https://github.com/gregorwolf/HTML5UserAPIforCF.git ",
"license": "Apache 2.0",
Expand Down
4 changes: 2 additions & 2 deletions srv/express.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// load modules
const express = require("express");
const fesr = require("@sap/fesr-to-otel-js");
// const fesr = require("@sap/fesr-to-otel-js");

// For authentication test
const passport = require("passport");
Expand Down Expand Up @@ -31,7 +31,7 @@ function getJWT(req) {
(async () => {
// create new app
const app = express();
fesr.registerFesrEndpoint(app);
// fesr.registerFesrEndpoint(app);
// Authentication using JWT
await app.use(passport.initialize());
await app.use(passport.authenticate("JWT", { session: false }));
Expand Down

0 comments on commit 10fc888

Please sign in to comment.