Skip to content

Commit

Permalink
minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
frank committed Sep 9, 2018
1 parent da008d3 commit 2f2705e
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 8 deletions.
5 changes: 4 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,10 @@ RUN set -ex \
&& apk add --no-cache --virtual .build-deps gcc autoconf g++ make libffi-dev openssl-dev python-dev\
&& pip install --no-cache-dir -i https://mirrors.ustc.edu.cn/pypi/web/simple -r requirements.txt \
&& python manage.py collectstatic --noinput \
&& apk del .build-deps
&& apk del .build-deps \
&& mkdir /root/.netease-musicbox/ \
&& touch /root/.netease-musicbox/musicbox.log \
&& echo "#LWP-Cookies-2.0" > /root/.netease-musicbox/cookie

EXPOSE 8000

Expand Down
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
version: '3'
services:
web:
build: .
image: nyanim/nem-downloader:latest
ports:
- "8000:8000"
2 changes: 1 addition & 1 deletion nem_parser/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
SECRET_KEY = '9%_62aw^oyv86psvv@z14+(@ho^b9dzk+d@!)ss6h_87dht_f&'

# SECURITY WARNING: don't run with debug turned on in production!
DEBUG = True
DEBUG = False

ALLOWED_HOSTS = ['*']

Expand Down
2 changes: 1 addition & 1 deletion parse/templates/footer.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<footer class="footer">
<div class="container">
<div align="center" style="color:rgba(255,255,255, 0.84)">
<br> Copyright nyan.im 2013-2017
<br> Copyright nyan.im 2013-2018
</div>
</div>
</footer>
8 changes: 4 additions & 4 deletions parse/templates/header.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@
<link rel="stylesheet" type="text/css" href="//fonts.googleapis.com/icon?family=Material+Icons">

<!-- Bootstrap -->
<link rel="stylesheet" type="text/css" href="{% static " dist/css/bootstrap.min.css "%}">
<link rel="stylesheet" type="text/css" href="{% static "dist/css/bootstrap.min.css "%}">

<!-- Bootstrap Material Design -->
<link rel="stylesheet" type="text/css" href="{% static " dist/css/bootstrap-material-design.css "%}">
<link rel="stylesheet" type="text/css" href="{% static " dist/css/ripples.min.css "%}">
<link href="{% static " sticky-footer-navbar.css "%}" rel="stylesheet">
<link rel="stylesheet" type="text/css" href="{% static "dist/css/bootstrap-material-design.css "%}">
<link rel="stylesheet" type="text/css" href="{% static "dist/css/ripples.min.css "%}">
<link href="{% static "sticky-footer-navbar.css "%}" rel="stylesheet">
<title>网易云音乐外链解析下载器</title>
<style>
body {
Expand Down

0 comments on commit 2f2705e

Please sign in to comment.