Replace USER with GITLAB_USER
This commit is contained in:
parent
bfa7883a48
commit
df877107a3
6
index.ts
6
index.ts
|
@ -8,9 +8,9 @@ import Express from "express";
|
||||||
const app = Express();
|
const app = Express();
|
||||||
const PORT = process.env.PORT;
|
const PORT = process.env.PORT;
|
||||||
|
|
||||||
const base64 = Buffer.from(`${process.env.USER}:${process.env.PASS}`).toString(
|
const base64 = Buffer.from(
|
||||||
"base64",
|
`${process.env.GITLAB_USER}:${process.env.PASS}`,
|
||||||
);
|
).toString("base64");
|
||||||
|
|
||||||
app.use(Express.static(__dirname + "/out"));
|
app.use(Express.static(__dirname + "/out"));
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue