mirror of
https://github.com/nitezs/sub2clash.git
synced 2024-12-23 20:54:42 -05:00
fix
This commit is contained in:
parent
be9bdd269e
commit
4f4a633035
@ -46,5 +46,5 @@ func ShortLinkGetHandler(c *gin.Context) {
|
||||
c.String(404, "未找到短链接")
|
||||
return
|
||||
}
|
||||
c.Redirect(302, "/"+shortLink.Url)
|
||||
c.Redirect(302, "../"+shortLink.Url)
|
||||
}
|
||||
|
@ -298,7 +298,7 @@
|
||||
function generateShortLink() {
|
||||
const apiShortLink = document.getElementById("apiShortLink");
|
||||
|
||||
axios.post("/short", {
|
||||
axios.post("./short", {
|
||||
"url": generateURI()
|
||||
}, {
|
||||
headers: {
|
||||
|
Loading…
Reference in New Issue
Block a user