diff --git a/sync/dash.go b/sync/dash.go index d0e27a52..4fc0e862 100644 --- a/sync/dash.go +++ b/sync/dash.go @@ -30,11 +30,6 @@ type contentLayoutTest struct { type ContentDistrict struct { } -func getDistrict(w http.ResponseWriter, r *http.Request) { - context := ContentDistrict{} - html.RenderOrError(w, "sync/district.html", &context) -} - func getLayoutTest(ctx context.Context, r *http.Request, user platform.User) (*html.Response[contentLayoutTest], *nhttp.ErrorWithStatus) { return html.NewResponse("sync/layout-test.html", contentLayoutTest{}), nil } diff --git a/sync/routes.go b/sync/routes.go index f6b832ad..b0d869ec 100644 --- a/sync/routes.go +++ b/sync/routes.go @@ -16,17 +16,6 @@ func Router(r *mux.Router) { r.HandleFunc("/mailer/mode-1/preview", getMailer1Preview) r.HandleFunc("/mailer/mode-2/preview", getMailer2Preview) r.HandleFunc("/mailer/mode-3/{code}/preview", getMailer3Preview) - r.HandleFunc("/district", getDistrict) - - // Mock endpoints - r.HandleFunc("/mock", renderMockList) - addMock(r, "/mock/report", "sync/mock/report.html") - addMock(r, "/mock/report/{code}", "sync/mock/report-detail.html") - addMock(r, "/mock/report/{code}/confirm", "sync/mock/report-confirmation.html") - addMock(r, "/mock/report/{code}/contribute", "sync/mock/report-contribute.html") - addMock(r, "/mock/report/{code}/evidence", "sync/mock/report-evidence.html") - addMock(r, "/mock/report/{code}/schedule", "sync/mock/report-schedule.html") - addMock(r, "/mock/report/{code}/update", "sync/mock/report-update.html") // Utility endpoints r.HandleFunc("/privacy", getPrivacy)