Skip to content
GitLab
Explore
Projects
Groups
Snippets
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
m4lab_tv1
User Account
Commits
4c9eca64
Commit
4c9eca64
authored
4 years ago
by
Rosanny Sihombing
Browse files
Options
Download
Email Patches
Plain Diff
fix MLAB-147 (upload picture)
parent
bf400ba4
master
MLAB-677
devel
patch-1
reset-jul13
reset-merge
testing
3 merge requests
!31
Prepare prdoucton
,
!16
Mlab 167
,
!6
Devel
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
routes/routes-project.js
+5
-1
routes/routes-project.js
with
5 additions
and
1 deletion
+5
-1
routes/routes-project.js
+
5
-
1
View file @
4c9eca64
...
...
@@ -159,10 +159,14 @@ module.exports = function (app) {
var
projectLogo
=
req
.
files
.
logo
var
projectPicture
=
req
.
files
.
src
// TEST PATH FOR DEVELOPMENT (LOCALHOST)
var
projectLogoPath
=
'
./folder-in-server-to-save-projektlogo/
'
+
req
.
body
.
pname
+
'
/
'
+
projectLogo
.
name
var
projectPicturePath
=
'
./folder-in-server-to-save-projektbild/
'
+
req
.
body
.
pname
+
'
/
'
+
projectPicture
.
name
var
projectTerm
=
req
.
body
.
termForm
+
"
-
"
+
req
.
body
.
termTo
// PATH FOR TEST/LIVE SERVER
// var projectLogoPath = to-be-defined
// var projectPicturePath = to-be-defined
var
projectTerm
=
req
.
body
.
termForm
+
"
-
"
+
req
.
body
.
termTo
var
projectOverviewData
=
{
pname
:
req
.
body
.
pname
,
title
:
req
.
body
.
title
,
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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
Menu
Explore
Projects
Groups
Snippets