Fixed icon kit issue

Searching for player icons broke after porting the icon kit over from gdcolon.com to gdbrowser
This commit is contained in:
GDColon 2019-10-16 21:45:29 -04:00
parent 8d90d22f21
commit ac109d858b

View file

@ -187,7 +187,7 @@ fetch('./api/icons').then(res => {
let user = prompt(`Enter a player's username to get their ${currentForm == "ufo" ? "UFO" : currentForm}!\n(Form will depend on selected tab)\n`)
if (!user) return;
let iconURL = `${dir}/gdicon/img/${user}?form=${currentForm}`
let iconURL = `../icon/${user}?form=${currentForm}`
$("#loading").show()
$("#result").hide()
$("#result").attr('src', iconURL)