feat: function update flow re-introduced (#2410)
This commit is contained in:
committed by
GitHub
parent
04dd67aa4f
commit
689bb4e941
@@ -169,7 +169,7 @@ export function getServerOrigin() {
|
||||
)
|
||||
}
|
||||
|
||||
return trimEnd(process.env.CANONICAL_URL, '/')
|
||||
return new URL(trimEnd(process.env.CANONICAL_URL, '/')).origin
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user