GopeedLab / gopeed

A modern download manager that supports all platforms. Built with Golang and Flutter.
https://gopeed.com
GNU General Public License v3.0
16.95k stars 1.19k forks source link

配置了API token但不生效,浏览器扩展不填API token也可以正常使用 #805

Closed NJYZ-96 closed 1 week ago

NJYZ-96 commented 1 week ago

发行版本 debian 内核版本 6.1.114-ophub 系统类型 aarch64

gopeed版本 1.6.1

下面是我使用的Docker-Compose 模板文档,隐私信息用***表示

services:
    Gopeed:
        command: -P 50012  -T ***@gope  -u ***@gmail.com  -p ***@gope
        container_name: ${CONTAINER_NAME}
        deploy:
            resources:
                limits:
                    cpus: ${CPUS}
                    memory: ${MEMORY_LIMIT}
        image: liwei2633/gopeed:latest
        labels:
            createdBy: Apps
        network_mode: host
        restart: always
        volumes:
            - ${DOWNLOAD_PATH}:/app/Downloads
            - ./data:/app/storage
monkeyWie commented 1 week ago

command要用数组格式才能生效哦,不然就会识别成一个字符串,改成这样试试:

command:  ["-P","50012","-T","***@gope","-u","***@gmail.com","-p","***@gope"]
NJYZ-96 commented 1 week ago

解决了,感谢回复