Revert "[Bug] Minepeon cannot access the api"

This reverts commit bebf37b773c5f684ccf4f3cb2458c36e285e6ce7.