Skip to content

Commit

Permalink
apps.schedule.feeds: move /schedule/frab-{year}.{json,xml} to /schedu…
Browse files Browse the repository at this point in the history
…le/{year}.frab.{json,xml}
  • Loading branch information
Kunsi committed Aug 31, 2024
1 parent 96253c8 commit 28c3a8c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apps/schedule/feeds.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ def schedule_json(year):
return Response(json.dumps(schedule), mimetype="application/json")


@schedule.route("/schedule/frab-<int:year>.json")
@schedule.route("/schedule/<int:year>.frab.json")
def schedule_frab_json(year):
if year != event_year():
return feed_historic(year, "frab_json")
Expand Down Expand Up @@ -96,7 +96,7 @@ def schedule_frab(year):
return redirect(url_for("schedule_frab_xml", year=year), code=301)


@schedule.route("/schedule/frab-<int:year>.xml")
@schedule.route("/schedule/<int:year>.frab.xml")
def schedule_frab_xml(year):
if year != event_year():
return feed_historic(year, "frab")
Expand Down

0 comments on commit 28c3a8c

Please sign in to comment.