Skip to content

Commit

Permalink
.well-known route added
Browse files Browse the repository at this point in the history
  • Loading branch information
paul-daniel-dempsey committed Nov 2, 2023
1 parent 6de88fb commit b53b493
Showing 1 changed file with 31 additions and 25 deletions.
56 changes: 31 additions & 25 deletions facia/conf/routes
Original file line number Diff line number Diff line change
@@ -1,41 +1,47 @@
# Routes

# This file defines all application routes (Higher priority routes first)
# ~~~~

# ~~~~

# For dev machines
GET /assets/*path dev.DevAssetsController.at(path)

GET /_healthcheck controllers.HealthCheck.healthCheck()
GET /_fronts_cdn_healthcheck controllers.HealthCheck.healthCheck()
GET /assets/\*path dev.DevAssetsController.at(path)

GET /\_healthcheck controllers.HealthCheck.healthCheck()
GET /\_fronts_cdn_healthcheck controllers.HealthCheck.healthCheck()

GET /_agentcontents controllers.FaciaController.renderAgentContents
GET /\_agentcontents controllers.FaciaController.renderAgentContents

GET /humans.txt controllers.Assets.at(path="/public", file="humans.txt")
GET /humans.txt controllers.Assets.at(path="/public", file="humans.txt")

GET /.well-known/security.txt controllers.Assets.at(path="/public", file="security.txt")
GET /.well-known/security.txt.asc controllers.Assets.at(path="/public", file="security.txt.asc")
GET /.well-known/security.txt controllers.Assets.at(path="/public", file="security.txt")
GET /.well-known/security.txt.asc controllers.Assets.at(path="/public", file="security.txt.asc")

GET /.well-known/amphtml/apikey.pub controllers.FaciaController.ampRsaPublicKey()
GET /.well-known/apple-developer-merchantid-domain-association.txt controllers.Assets.at(path="/public", file="apple-developer-merchantid-domain-association.txt")

GET /.well-known/amphtml/apikey.pub controllers.FaciaController.ampRsaPublicKey()

# AMP
GET /container/count/:count/offset/:offset/mf2.json controllers.FaciaController.renderSomeFrontContainersMf2(count: Int, offset: Int, section = "")
GET /container/count/:count/offset/:offset/section/:section/mf2.json controllers.FaciaController.renderSomeFrontContainersMf2(count: Int, offset: Int, section)

GET /container/count/:count/offset/:offset/mf2.json controllers.FaciaController.renderSomeFrontContainersMf2(count: Int, offset: Int, section = "")
GET /container/count/:count/offset/:offset/section/:section/mf2.json controllers.FaciaController.renderSomeFrontContainersMf2(count: Int, offset: Int, section)

#Facia Press
GET /collection/*id/rss controllers.FaciaController.renderCollectionRss(id)
GET /container/use-layout/*id.json controllers.FaciaController.renderContainerJsonWithFrontsLayout(id)
GET /container/data/*id.json controllers.FaciaController.renderContainerDataJson(id)
GET /container/*id.json controllers.FaciaController.renderContainerJson(id)
GET /collection/*id/rss controllers.FaciaController.renderCollectionRss(id)
GET /container/use-layout/*id.json controllers.FaciaController.renderContainerJsonWithFrontsLayout(id)
GET /container/data/*id.json controllers.FaciaController.renderContainerDataJson(id)
GET /container/*id.json controllers.FaciaController.renderContainerJson(id)

# Editionalised pages
GET /*path/show-more/*id.json controllers.FaciaController.renderShowMore(path, id)
GET /rss controllers.FaciaController.renderRootFrontRss()
GET /*path/rss controllers.FaciaController.renderFrontRss(path)
GET /*path/lite.json controllers.FaciaController.renderFrontJsonMinimal(path)
GET /*path.emailjson controllers.FaciaController.renderFrontJson(path)
GET /*path.emailtxt controllers.FaciaController.renderFrontJson(path)
GET /*path.json controllers.FaciaController.renderFrontJson(path)
GET /*path/headline.txt controllers.FaciaController.renderFrontHeadline(path)
GET / controllers.FaciaController.rootEditionRedirect()
GET /*path controllers.FaciaController.renderFront(path)

GET /*path/show-more/*id.json controllers.FaciaController.renderShowMore(path, id)
GET /rss controllers.FaciaController.renderRootFrontRss()
GET /*path/rss controllers.FaciaController.renderFrontRss(path)
GET /*path/lite.json controllers.FaciaController.renderFrontJsonMinimal(path)
GET /*path.emailjson controllers.FaciaController.renderFrontJson(path)
GET /*path.emailtxt controllers.FaciaController.renderFrontJson(path)
GET /*path.json controllers.FaciaController.renderFrontJson(path)
GET /*path/headline.txt controllers.FaciaController.renderFrontHeadline(path)
GET / controllers.FaciaController.rootEditionRedirect()
GET /\*path controllers.FaciaController.renderFront(path)

0 comments on commit b53b493

Please sign in to comment.