mirror of
https://github.com/overleaf/overleaf.git
synced 2024-10-31 21:21:03 -04: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
|