Skip to content

Commit 6072376

Browse files
committed
A little fix
1 parent 2dbce9e commit 6072376

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/backend/server/apis/v2/middlewares/fme.server.proxy.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ export default function fmeServerProxy(err, req, res, next) {
3232
// We have to add an authorization header to the request
3333
// There are 2 possibilities: with TOKEN or with USER/PASS.
3434
const value = process.env.FME_SERVER_TOKEN
35-
? `Authorization: fmetoken token=${process.env.FME_SERVER_TOKEN}`
35+
? `fmetoken token=${process.env.FME_SERVER_TOKEN}`
3636
: `Basic ${Buffer.from(
3737
`${process.env.FME_SERVER_USER}:${process.env.FME_SERVER_PASSWORD}`
3838
).toString("base64")}`;

0 commit comments

Comments
 (0)