mathew-kurian / Scribe.js

:scroll: Node.js logging made simple! Online access to logs and more...
https://mathew-kurian.github.io/Scribe.js/
MIT License
284 stars 45 forks source link

Add url parameter 'token' in ajax call #11

Closed guillaumewuip closed 10 years ago

guillaumewuip commented 10 years ago

It's a common practice to prevent access with a token passed in url params and expressJS.

This commit allows you to access to Scribe.js in http://yourPath/log?token=XXXXX and keep the app working by sending &token=XXXXX with all AJAX requests.