seashell / drago

☁️ Securely connect anything with WireGuard® and manage all your networks from a single place.

Home Page:https://seashell.github.io/drago

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

`PopulateRepository` in Server Run method

AlxndrJhn opened this issue · comments

commented

PopulateRepository(repo)

I did not start the server locally to check if the /links or /hosts endpoint returns the dummies but it seems like this line should be deleted.
It gets called here
s.Run()

I assume the "dummies" it creates are for testing purposes only?

Thanks! This was indeed intended for adding mock data to the repository, but since it's no longer used, we removed it in the latest PR.