Skip to content
This repository has been archived by the owner on Sep 17, 2020. It is now read-only.

Commit

Permalink
fix: add environment variable
Browse files Browse the repository at this point in the history
  • Loading branch information
Taloud committed Feb 21, 2020
1 parent eac3567 commit a404792
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
5 changes: 1 addition & 4 deletions api/config/passport.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,7 @@ passport.use(
//const username = email.split("@")[0];
var safeEmail = encodeURIComponent(email);
var url =
"https://textstyle.fabrique.social.gouv.fr/verif?email=" +
safeEmail +
"&token=" +
token;
process.env.APP_URL + "/verif?email=" + safeEmail + "&token=" + token;
// Send the link to user via email. Call done() when finished.

var transport = nodemailer.createTransport({
Expand Down
1 change: 1 addition & 0 deletions docker-compose.override.prod.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ services:
dockerfile: Dockerfile
environment:
POSTGRES_URL: postgres://postgres:@postgres:5432/postgres
APP_URL: https://localhost
TIPI_USER: azejazbeazebazhjbejhazbehazjbe
TIPI_PASSWORD: azehaziuehiazuheiauzeh
ports:
Expand Down

0 comments on commit a404792

Please sign in to comment.