Skip to content

Commit f49e773

Browse files
committed
specify BASE_URI to handle haproxy redirects
1 parent dfde711 commit f49e773

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ var express = require("express")
1313
, request = require("request")
1414
, URL = require('url').URL
1515
, fileUpload = require('express-fileupload')
16+
, BASE_URI = process.env.BASE_URI || ""
1617
;
17-
1818
app.use(fileUpload({
1919
createParentPath: true,
2020
useTempFiles: true,

0 commit comments

Comments
 (0)