wt-tracker icon indicating copy to clipboard operation
wt-tracker copied to clipboard

Can I set "allowOrigins" and deny all which not in allow list ?

Open ElonJTrump opened this issue 4 years ago • 0 comments

Hello,

From example config file https://github.com/Novage/wt-tracker/blob/master/sample/config.json

Can I assign only "allowOrigins" domain (I'm sure can I set wildcard for domain ?) with ""denyEmptyOrigin": true" ?

like this

"websocketsAccess": { "allowOrigins": ["https://xxx.com", "https://yyy.com"], "denyEmptyOrigin": true }

Will only "https://xxx.com", "https://yyy.com" allow other which not in the allow list are deny ?

ElonJTrump avatar Jan 22 '21 04:01 ElonJTrump