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