mirror of
https://github.com/xhongc/music-tag-web.git
synced 2026-02-03 02:03:35 +08:00
feature:支持变量修改
This commit is contained in:
@@ -70,22 +70,22 @@ TIME_ZONE = "Asia/Shanghai"
|
||||
LANGUAGE_CODE = "zh-hans"
|
||||
# Database
|
||||
# https://docs.djangoproject.com/en/3.2/ref/settings/#databases
|
||||
# DATABASES = {
|
||||
# 'default': {
|
||||
# 'ENGINE': 'django.db.backends.sqlite3',
|
||||
# 'NAME': os.path.join(BASE_DIR, 'db.sqlite3'),
|
||||
# }
|
||||
# }
|
||||
DATABASES = {
|
||||
"default": {
|
||||
"ENGINE": "django.db.backends.mysql",
|
||||
"NAME": 'music', # noqa
|
||||
"USER": "root",
|
||||
"PASSWORD": "123456",
|
||||
"HOST": "localhost",
|
||||
"PORT": "3306",
|
||||
},
|
||||
'default': {
|
||||
'ENGINE': 'django.db.backends.sqlite3',
|
||||
'NAME': os.path.join(BASE_DIR, 'db.sqlite3'),
|
||||
}
|
||||
}
|
||||
# DATABASES = {
|
||||
# "default": {
|
||||
# "ENGINE": "django.db.backends.mysql",
|
||||
# "NAME": 'music', # noqa
|
||||
# "USER": "root",
|
||||
# "PASSWORD": "123456",
|
||||
# "HOST": "localhost",
|
||||
# "PORT": "3306",
|
||||
# },
|
||||
# }
|
||||
# Password validation
|
||||
# https://docs.djangoproject.com/en/3.2/ref/settings/#auth-password-validators
|
||||
|
||||
|
||||
2
static/dist/index.prod.html
vendored
2
static/dist/index.prod.html
vendored
@@ -1,3 +1,3 @@
|
||||
<!DOCTYPE html><html><head><meta charset=utf-8><meta name=viewport content="width=device-width,initial-scale=1"><title>音乐标签Web版|Music Tag Web|</title><link rel="shortcut icon" href=/static/dist/img/music-tag.png type=image/x-icon><link href=./static/dist/css/app.css rel=stylesheet></head><body><script>window.siteUrl = "/"
|
||||
window.APP_CODE = 'dj-flow';
|
||||
window.CSRF_COOKIE_NAME = 'django_vue_cli_csrftoken'</script><div id=app></div><script type=text/javascript src=./static/dist/js/manifest.9ba6c0d4f4490e9a4f28.js></script><script type=text/javascript src=./static/dist/js/vendor.051dd49be048f27f51f9.js></script><script type=text/javascript src=./static/dist/js/app.355ebd0147befb7e6a12.js></script></body></html>
|
||||
window.CSRF_COOKIE_NAME = 'django_vue_cli_csrftoken'</script><div id=app></div><script type=text/javascript src=./static/dist/js/manifest.9ba6c0d4f4490e9a4f28.js></script><script type=text/javascript src=./static/dist/js/vendor.051dd49be048f27f51f9.js></script><script type=text/javascript src=./static/dist/js/app.756b276173b514f6d8fe.js></script></body></html>
|
||||
1
static/dist/js/app.355ebd0147befb7e6a12.js
vendored
1
static/dist/js/app.355ebd0147befb7e6a12.js
vendored
File diff suppressed because one or more lines are too long
1
static/dist/js/app.756b276173b514f6d8fe.js
vendored
Normal file
1
static/dist/js/app.756b276173b514f6d8fe.js
vendored
Normal file
File diff suppressed because one or more lines are too long
@@ -291,8 +291,8 @@
|
||||
return {
|
||||
searchWord: '',
|
||||
treeListOne: [],
|
||||
filePath: '/Users/macbookair/Music/my_music',
|
||||
bakDir: '/Users/macbookair/Music/my_music',
|
||||
filePath: '/app/media/',
|
||||
bakDir: '/app/media/',
|
||||
fileName: '',
|
||||
resource: 'netease',
|
||||
resourceList: [{id: 'netease', name: '网易云音乐'}, {id: 'migu', name: '咪咕音乐'}],
|
||||
|
||||
Reference in New Issue
Block a user