Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
N
node-bigstream
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
3
Merge Requests
3
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
bs
node-bigstream
Commits
a934d70a
Commit
a934d70a
authored
Apr 24, 2020
by
Kamron Aroonrua
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
storage file service
parent
67acc095
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
service-object.js
storage-service/ws/v1.2/service-object.js
+3
-3
No files found.
storage-service/ws/v1.2/service-object.js
View file @
a934d70a
...
...
@@ -249,13 +249,13 @@ function file_out(resp,obj,opt)
if
(
objType
==
BinStream
.
BINARY_TYPE
){
defType
=
"application/octet-stream"
;
defName
=
(
opt
.
file
_type
)?
objId
+
"."
+
opt
.
file_
type
:
objId
+
".out"
;
defName
=
(
opt
.
file
type
)?
objId
+
"."
+
opt
.
file
type
:
objId
+
".out"
;
}
else
if
(
objType
==
BinStream
.
STRING_TYPE
){
defType
=
"text"
;
defName
=
(
opt
.
file
_type
)?
objId
+
"."
+
opt
.
file_
type
:
objId
+
".out"
;
defName
=
(
opt
.
file
type
)?
objId
+
"."
+
opt
.
file
type
:
objId
+
".out"
;
}
else
{
defType
=
"json"
;
defName
=
(
opt
.
file
_type
)?
objId
+
"."
+
opt
.
file_
type
:
objId
+
".json"
;
defName
=
(
opt
.
file
type
)?
objId
+
"."
+
opt
.
file
type
:
objId
+
".json"
;
}
var
file_name
=
opt
.
filename
||
meta
.
file_name
||
defName
;
...
...
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