Skip to content

Commit

Permalink
🔧 优化多个配置文件
Browse files Browse the repository at this point in the history
  • Loading branch information
mix committed Jan 15, 2021
1 parent c588bf9 commit f0aa67b
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 5 deletions.
2 changes: 0 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@ COPY . /hibi
WORKDIR /hibi
RUN pip install -r requirements.txt --prefer-binary && \
touch configs/.env
EXPOSE 8080
ENV PORT=8080
CMD export GENERAL_SERVER_PORT=$PORT && \
cd /hibi && \
python main.py
7 changes: 5 additions & 2 deletions configs/bilibili.default.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
net:
cookie: "DedeUserID=; DedeUserID__ckMd5=; SESSDATA=;"
user-agent: "HibiAPI/latest mixmoe@GitHub"
cookie: >
DedeUserID=;
DedeUserID__ckMd5=;
SESSDATA=;
user-agent: "Mozilla/5.0 ([email protected]/HibiAPI) Chrome/114.514.1919810"
7 changes: 6 additions & 1 deletion configs/netease.default.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
net:
cookie: "os=pc; osver=Microsoft-Windows-10-Professional-build-10586-64bit; appver=2.0.3.131777; channel=netease; __remember_me=true"
cookie: >
os=pc;
osver=Microsoft-Windows-10-Professional-build-10586-64bit;
appver=2.0.3.131777;
channel=netease;
__remember_me=true
user-agent: "Mozilla/5.0 ([email protected]/HibiAPI) Chrome/114.514.1919810"

0 comments on commit f0aa67b

Please sign in to comment.