Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
E
evm-store
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wanli
evm-store
Commits
31a8b1b3
Commit
31a8b1b3
authored
Apr 21, 2021
by
wanli
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
a33e3966
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
backend/app/setting.py
backend/app/setting.py
+1
-1
backend/view/api.py
backend/view/api.py
+1
-1
No files found.
backend/app/setting.py
View file @
31a8b1b3
...
@@ -11,7 +11,7 @@ config = dict(
...
@@ -11,7 +11,7 @@ config = dict(
NAME
=
'evm_store'
,
NAME
=
'evm_store'
,
DEBUG
=
False
,
DEBUG
=
False
,
HOST
=
"127.0.0.1"
,
HOST
=
"127.0.0.1"
,
PORT
=
500
2
,
PORT
=
500
0
,
LOGIN_DISABLED
=
False
,
LOGIN_DISABLED
=
False
,
MD5_SALT
=
"EhuqUkwV"
,
MD5_SALT
=
"EhuqUkwV"
,
SECRET_KEY
=
'secret_key_EhuqUkwV'
,
SECRET_KEY
=
'secret_key_EhuqUkwV'
,
...
...
backend/view/api.py
View file @
31a8b1b3
...
@@ -111,7 +111,7 @@ def application_build():
...
@@ -111,7 +111,7 @@ def application_build():
if
request
.
method
==
'POST'
and
'binfiles'
in
request
.
files
:
if
request
.
method
==
'POST'
and
'binfiles'
in
request
.
files
:
files
=
[]
files
=
[]
data
=
request
.
schema_data
data
=
request
.
schema_data
dt
=
datetime
.
datetime
.
now
()
.
strftime
(
"
%
Y
%
m
%
d
%
H
%
M
%
S"
)
dt
=
datetime
.
now
()
.
strftime
(
"
%
Y
%
m
%
d
%
H
%
M
%
S"
)
upload_path
=
os
.
sep
.
join
([
config
[
"UPLOAD_PATH"
],
config
[
"UPLOAD_DIR"
],
conf
.
get
(
'uploads'
,
'temp_dir'
),
str
(
data
[
'access_key'
]),
dt
])
upload_path
=
os
.
sep
.
join
([
config
[
"UPLOAD_PATH"
],
config
[
"UPLOAD_DIR"
],
conf
.
get
(
'uploads'
,
'temp_dir'
),
str
(
data
[
'access_key'
]),
dt
])
if
not
os
.
path
.
exists
(
upload_path
):
if
not
os
.
path
.
exists
(
upload_path
):
os
.
makedirs
(
upload_path
)
os
.
makedirs
(
upload_path
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment