mirror of
https://github.com/ragestudio/comty.git
synced 2025-06-09 02:24:16 +00:00
use req protocol instead https
This commit is contained in:
parent
bdbecb2857
commit
45e62d07e2
@ -81,7 +81,7 @@ export default {
|
||||
return {
|
||||
uploadId: uploadId,
|
||||
sseChannelId: sseChannelId,
|
||||
eventChannelURL: `https://${req.get("host")}/upload/sse_events/${sseChannelId}`,
|
||||
eventChannelURL: `${req.protocol}://${req.get("host")}/upload/sse_events/${sseChannelId}`,
|
||||
}
|
||||
} else {
|
||||
const result = await RemoteUpload({
|
||||
|
Loading…
x
Reference in New Issue
Block a user