Skip to content

Commit

Permalink
feat: disabled report submission; added env var
Browse files Browse the repository at this point in the history
Signed-off-by: Harsh Khandeparkar <shadowwarriorpro3003@gmail.com>
  • Loading branch information
harshkhandeparkar authored Jan 20, 2024
1 parent bb64795 commit a73b97b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/routes.go
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ func getRoutes(app *middleware.App) []Route {
"POST",
"/student/bloglink/",
middleware.WithLogin(middleware.WrapApp(app, controllers.StudentBlogLink)),
false,
os.Getenv("REPORT_SUBMISSION_OPEN") == "true",
},
{
"Student Dashboard",
Expand Down

0 comments on commit a73b97b

Please sign in to comment.