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