Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docker部署希望能直接预填入cookies等配置 #26

Open
kokojacket opened this issue Sep 15, 2023 · 6 comments
Open

docker部署希望能直接预填入cookies等配置 #26

kokojacket opened this issue Sep 15, 2023 · 6 comments

Comments

@kokojacket
Copy link

发现每次换浏览器后都需要重新填入cookies等,操作起来比较麻烦。希望能增加环境变量或者其他方式,在docker部署的时候,预填入所有配置。

@Johnserf-Seed
Copy link
Owner

js不能直接修改操作系统的环境变量,你装了几个浏览器需要这么麻烦的切换吗

@kokojacket
Copy link
Author

家里和公司吧,我是个小剪辑,刚好想部署了分享给公司同事用。就发现这个切换起来比较麻烦

@Johnserf-Seed
Copy link
Owner

设置环境变量后还是需要更新,cookie不是永久的

@chengazhen
Copy link

可以尝试使用nodejs的环境变量,然后去部署,也就是直接在代码内部内置好cookie,不过cookie失效还是要重新部署

@Johnserf-Seed
Copy link
Owner

可以尝试使用nodejs的环境变量,然后去部署,也就是直接在代码内部内置好cookie,不过cookie失效还是要重新部署

多此一举

@Chengchongzhen2
Copy link

就是提个建议。。。。。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants