aripbae commited on
Commit
e58c3e0
·
verified ·
1 Parent(s): 8efdcc9

Update index.js

Browse files
Files changed (1) hide show
  1. index.js +1 -1
index.js CHANGED
@@ -87,7 +87,7 @@ app.all('/', async (req, res) => {
87
  url: format(
88
  '%s://%s',
89
  req.protocol,
90
- env.SPACE_HOST + name
91
  )
92
  })
93
  } catch (e) {
 
87
  url: format(
88
  '%s://%s',
89
  req.protocol,
90
+ req.host + name
91
  )
92
  })
93
  } catch (e) {