Already done in shlink https://github.com/shlinkio/shlink/pull/215
Already done in shlink shlinkio/shlink#215