Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions app/routes.js
Original file line number Diff line number Diff line change
Expand Up @@ -74,9 +74,9 @@ use(async (req, res, next) => {

logger.info('fileDir', fileDir)

const mingw_home=process.env.MINGW_HOME;
if (mingw_home){
if(! fileDir.includes(':')){
const msystem=process.env.MSYSTEM;
if (msystem){
if(! fileDir.includes(':')){
// fileDir is unix-like: /Z/x/y/...., 'Z' means Z:
// the win-like fileDir should be: Z:\x\y...
const cygpath = 'cygpath.exe'
Expand Down