Use original url for article redirect after saving

This commit is contained in:
Jackson Harper 2023-09-22 17:25:47 +08:00
parent eeb30c9ff0
commit c5359c930b

View file

@ -99,7 +99,6 @@
.then(function (response) {
if (response.status === 200) {
return response.json().then((responseJson) => {
const url = encodeURIComponent(responseJson.url)
return currentOrigin + '/article?url=' + url
})
}