mirror of
https://github.com/dec0dOS/zero-ui.git
synced 2025-07-06 13:01:46 -07:00
fix: correct conditional for enabling bearer token
This commit is contained in:
parent
75933d7e59
commit
f30dec6eac
1 changed files with 1 additions and 1 deletions
|
@ -18,7 +18,7 @@ const app = express();
|
|||
app.use(logger("dev"));
|
||||
app.use(express.json());
|
||||
app.use(express.urlencoded({ extended: false }));
|
||||
if (process.env.ZU_DISABLE_AUTH === "true") {
|
||||
if (process.env.ZU_DISABLE_AUTH !== "true") {
|
||||
app.use(
|
||||
bearerToken({
|
||||
headerKey: "Bearer",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue