Skip to content

Commit 9dedacf

Browse files
committed
webmanifest fix and "security improvement"
1 parent cba334d commit 9dedacf

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

UI/src/index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<base href="/">
77
<meta name="viewport" content="width=device-width, initial-scale=1">
88
<link rel="icon" type="image/x-icon" href="favicon.png">
9-
<link rel="manifest" href="manifest.webmanifest">
9+
<link rel="manifest" href="manifest.webmanifest" crossorigin="use-credentials">
1010
<meta name="theme-color" content="#1976d2">
1111
</head>
1212
<body>

index.js

+1
Original file line numberDiff line numberDiff line change
@@ -745,6 +745,7 @@ function startUp() {
745745
function initialSetup() {
746746
logger('Setting up the REST API.', 'info-quiet');
747747

748+
app.disable('x-powered-by');
748749
app.use(bodyParser.json({ type: 'application/json' }));
749750

750751
//about the author, this program, etc.

0 commit comments

Comments
 (0)