File tree Expand file tree Collapse file tree 2 files changed +8
-8
lines changed
services/app/apps/codebattle/lib/codebattle_web Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -7,13 +7,13 @@ defmodule CodebattleWeb.ExtApi.TournamentController do
77
88 # Define the JSON file paths
99 @ json_files [
10- "/json/tournament1 .json" ,
11- "/json/tournament2 .json" ,
12- "/json/tournament3 .json" ,
13- "/json/tournament4 .json" ,
14- "/json/tournament5 .json" ,
15- "/json/tournament6 .json" ,
16- "/json/tournament7 .json"
10+ "/json/tournament_state_round1 .json" ,
11+ "/json/tournament_state_round2 .json" ,
12+ "/json/tournament_state_round3 .json" ,
13+ "/json/tournament_state_round4 .json" ,
14+ "/json/tournament_state_round5 .json" ,
15+ "/json/tournament_state_round6 .json" ,
16+ "/json/tournament_state_round7 .json"
1717 ]
1818
1919 # Use an Agent to store the current index
Original file line number Diff line number Diff line change @@ -72,7 +72,7 @@ defmodule CodebattleWeb.Router do
7272 post ( "/users" , UserController , :create )
7373 post ( "/tasks" , TaskController , :create )
7474 post ( "/task_packs" , TaskPackController , :create )
75- get ( "tournaments/:id" , TournamentController , :show )
75+ get ( "/ tournaments/:id" , TournamentController , :show )
7676 end
7777
7878 scope "/" , CodebattleWeb do
You can’t perform that action at this time.
0 commit comments