million-views / praas

Proxy as a service.
MIT License
4 stars 2 forks source link

define localStorage in proxy-server #64

Closed 5r1n1 closed 4 years ago

5r1n1 commented 4 years ago

localStorage is used in praas.js and server.js, but not pre-defined. So, eventhough the server comes up and persorms well, the ESLint extension in MSCode highlights it in red and complains of problems.

5r1n1 commented 4 years ago

Issue was resolved by adding const localStorage = require('localstorage-polyfill'); to praas.js and server.js