1
0
mirror of https://github.com/nitezs/sub2clash.git synced 2024-12-23 21:14:43 -05:00
This commit is contained in:
Nite07 2023-09-17 16:20:15 +08:00
parent be9bdd269e
commit 4f4a633035
2 changed files with 2 additions and 2 deletions

View File

@ -46,5 +46,5 @@ func ShortLinkGetHandler(c *gin.Context) {
c.String(404, "未找到短链接")
return
}
c.Redirect(302, "/"+shortLink.Url)
c.Redirect(302, "../"+shortLink.Url)
}

View File

@ -298,7 +298,7 @@
function generateShortLink() {
const apiShortLink = document.getElementById("apiShortLink");
axios.post("/short", {
axios.post("./short", {
"url": generateURI()
}, {
headers: {