mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05: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
|