BTCTaras/kristscape

fixURL function doesnt work

TheRockettek opened this issue · 0 comments

If i put in the url bar for example therockettek.kst, i look into the http log and it shows its trying to contact http://krist.ceriat.net/?a=therocket#at0 and this also happens on all the other urls where it breaks.

The line that causes this is
name = url:sub(8,url:sub(8):find("/")-1)

However you can easly fix this by changing it to just
name = url:sub(8,-2)

and it will work perfectly on any site 👍