refactor(tracking): inject space id via templating instead of using cookies
This commit is contained in:
committed by
Benedikt Rötsch
parent
46074b508d
commit
67dca923e9
@@ -36,9 +36,6 @@ module.exports = async function settingsMiddleware (request, response, next) {
|
||||
}
|
||||
/* eslint-enable camelcase */
|
||||
|
||||
// The space id needs to be available in the frontend for our example app
|
||||
response.cookie('space_id', settings.spaceId)
|
||||
|
||||
initClients(settings)
|
||||
response.locals.settings = settings
|
||||
next()
|
||||
|
||||
Reference in New Issue
Block a user