mirror of
https://github.com/overleaf/overleaf.git
synced 2024-12-30 23:22:41 +00:00
1cc0cbe8fc
web router has things like sessions etc added onto it. Api router is minimal, doesn't include things like csrf
5 lines
173 B
CoffeeScript
5 lines
173 B
CoffeeScript
AnalyticsController = require('./AnalyticsController')
|
|
|
|
module.exports =
|
|
apply: (webRouter, apiRouter) ->
|
|
webRouter.post '/event/:event', AnalyticsController.recordEvent
|