Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
U
ucp
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
4
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Container Registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
Coko Org
Products
ketty
ucp
Commits
f340d322
Commit
f340d322
authored
5 years ago
by
Giannis Kopanas
Committed by
Alexandros Georgantas
5 years ago
Browse files
Options
Downloads
Patches
Plain Diff
feat(applicationparameter): get config for bookbuilder from database
parent
5016e7ce
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!23
Add dynamic component types
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
config/default.js
+0
-2
0 additions, 2 deletions
config/default.js
scripts/seedApplicationParameter.js
+2
-2
2 additions, 2 deletions
scripts/seedApplicationParameter.js
with
2 additions
and
4 deletions
config/default.js
+
0
−
2
View file @
f340d322
const
path
=
require
(
'
path
'
)
const
components
=
require
(
'
./components
'
)
const
bookBuilder
=
require
(
'
./modules/book-builder
'
)
const
winston
=
require
(
'
winston
'
)
// const authsomeMode = require('./modules/authsome')
...
...
@@ -46,7 +45,6 @@ module.exports = {
},
},
},
bookBuilder
,
epub
:
{
fontsPath
:
'
/uploads/fonts
'
,
},
...
...
This diff is collapsed.
Click to expand it.
scripts/seedApplicationParameter.js
+
2
−
2
View file @
f340d322
...
...
@@ -15,10 +15,10 @@ const seed = async () => {
const
parameters
=
await
new
ApplicationParameter
({
context
:
'
bookBuilder
'
,
area
,
config
:
config
[
area
],
config
:
JSON
.
stringify
(
config
[
area
]
)
,
}).
save
()
logger
.
info
(
`New Application Parameter created:
${
JSON
.
parse
(
config
[
area
])}
`
,
`New Application Parameter created:
${
JSON
.
stringify
(
config
[
area
])}
`
,
)
return
parameters
}),
...
...
This diff is collapsed.
Click to expand it.
Preview
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!
Save comment
Cancel
Please
register
or
sign in
to comment