You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems that this was necessary for a situation when dfs is launched on a Raspberry Pi on a host like http: //pi.local/. Then some api methods are called through the dapp in the browser. Requests are not getting through due to browser policy.
Hosts with http should not have secure = true. In the code, this option is disabled only if the hostname is localhost, but it would be necessary to disable it for any host.
For some cases when development dfs server is located not in localhost, we should disable Secure param here
fairOS-dfs/pkg/cookie/cookie.go
Line 94 in 3d50e30
When this params is enabled it is not allow to authorize dev user on hosts that differs from localhost.
It would be great to implement additional config param for disabling it.
The text was updated successfully, but these errors were encountered: