Open platform to collect and prioritize feedback
rename cert and go file (#141)
Guilherme Oenning76ac7e165b22
diff --git a/etc/README.md b/etc/README.mdnew file mode 100644index 000000000..0a6b86b27--- /dev/null+++ b/etc/README.md@@ -0,0 +1 @@+`development.crt` is a self-generated certificate for testing SSL locally. It SHOULD NOT be used to host any production Fider instance.\ No newline at end of filediff --git a/etc/server.crt b/etc/development.crtsimilarity index 100%rename from etc/server.crtrename to etc/development.crtdiff --git a/etc/server.key b/etc/development.keysimilarity index 100%rename from etc/server.keyrename to etc/development.keydiff --git a/router.go b/routes.gosimilarity index 94%rename from router.gorename to routes.goindex d23c277b3..981317328 100644--- a/router.go+++ b/routes.go@@ -11,18 +11,8 @@ import ("github.com/getfider/fider/app/pkg/env""github.com/getfider/fider/app/pkg/oauth""github.com/getfider/fider/app/pkg/web"- "github.com/getfider/fider/app/storage")-// AppServices holds reference to all Fider services-type AppServices struct {- OAuth oauth.Service- User storage.User- Tenant storage.Tenant- Idea storage.Idea- Settings *models.AppSettings-}-func initEmailer() email.Sender {if env.IsDefined("MAILGUN_API") {return mailgun.NewSender(env.MustGet("MAILGUN_DOMAIN"), env.MustGet("MAILGUN_API"))diff --git a/router_test.go b/routes_test.gosimilarity index 100%rename from router_test.gorename to routes_test.go