Skip to content

Commit

Permalink
specify BASE_URI to handle haproxy redirects
Browse files Browse the repository at this point in the history
  • Loading branch information
deniak committed Jan 17, 2020
1 parent dfde711 commit f49e773
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ var express = require("express")
, request = require("request")
, URL = require('url').URL
, fileUpload = require('express-fileupload')
, BASE_URI = process.env.BASE_URI || ""
;

app.use(fileUpload({
createParentPath: true,
useTempFiles: true,
Expand Down

0 comments on commit f49e773

Please sign in to comment.