Closed bangbaew closed 9 months ago
When the site url does not have .com in hostname, the string relativeURI somehow becomes an empty string and the program panics at checkGetRelativeURL because []rune(relativeURI)[0] is null, so I tried to handle empty relativeURI
[]rune(relativeURI)[0]
When the site url does not have .com in hostname, the string relativeURI somehow becomes an empty string and the program panics at checkGetRelativeURL because
[]rune(relativeURI)[0]
is null, so I tried to handle empty relativeURI