Skip to content
This repository was archived by the owner on Jun 23, 2025. It is now read-only.

Commit f0aa67b

Browse files
author
mix
committed
🔧 优化多个配置文件
1 parent c588bf9 commit f0aa67b

File tree

3 files changed

+11
-5
lines changed

3 files changed

+11
-5
lines changed

Dockerfile

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@ COPY . /hibi
33
WORKDIR /hibi
44
RUN pip install -r requirements.txt --prefer-binary && \
55
touch configs/.env
6-
EXPOSE 8080
7-
ENV PORT=8080
86
CMD export GENERAL_SERVER_PORT=$PORT && \
97
cd /hibi && \
108
python main.py

configs/bilibili.default.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
11
net:
2-
cookie: "DedeUserID=; DedeUserID__ckMd5=; SESSDATA=;"
3-
user-agent: "HibiAPI/latest mixmoe@GitHub"
2+
cookie: >
3+
DedeUserID=;
4+
DedeUserID__ckMd5=;
5+
SESSDATA=;
6+
user-agent: "Mozilla/5.0 (mixmoe@GitHub.com/HibiAPI) Chrome/114.514.1919810"

configs/netease.default.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
11
net:
2-
cookie: "os=pc; osver=Microsoft-Windows-10-Professional-build-10586-64bit; appver=2.0.3.131777; channel=netease; __remember_me=true"
2+
cookie: >
3+
os=pc;
4+
osver=Microsoft-Windows-10-Professional-build-10586-64bit;
5+
appver=2.0.3.131777;
6+
channel=netease;
7+
__remember_me=true
38
user-agent: "Mozilla/5.0 (mixmoe@GitHub.com/HibiAPI) Chrome/114.514.1919810"

0 commit comments

Comments
 (0)