Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
siibra-explorer
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Xiao Gui
siibra-explorer
Commits
8b65c19b
Commit
8b65c19b
authored
4 years ago
by
Xiao Gui
Browse files
Options
Downloads
Patches
Plain Diff
fix netlify fn
parent
09aee1c9
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
functions/nehubaConfig/nehubaConfig.js
+1
-1
1 addition, 1 deletion
functions/nehubaConfig/nehubaConfig.js
functions/templates/templates.js
+3
-3
3 additions, 3 deletions
functions/templates/templates.js
netlify.toml
+1
-1
1 addition, 1 deletion
netlify.toml
with
5 additions
and
5 deletions
functions/nehubaConfig/nehubaConfig.js
+
1
−
1
View file @
8b65c19b
const
fs
=
require
(
'
fs
'
)
const
{
reconfigureUrl
}
=
require
(
'
.
./../deploy/util
/reconfigPrecomputedServer
'
)
const
{
reconfigureUrl
}
=
require
(
'
./reconfigPrecomputedServer
'
)
exports
.
handler
=
(
ev
,
ctx
,
cb
)
=>
{
const
{
path
,
...
...
This diff is collapsed.
Click to expand it.
functions/templates/templates.js
+
3
−
3
View file @
8b65c19b
...
...
@@ -13,11 +13,11 @@ exports.handler = (ev, ctx, cb) => {
const
templates
=
[
// 'infant',
'
templates/bigbrain
'
,
//
'templates/bigbrain',
'
templates/colin
'
,
'
templates/MNI152
'
,
'
templates/waxholmRatV2_0
'
,
'
templates/allenMouse
'
//
'templates/waxholmRatV2_0',
//
'templates/allenMouse'
]
const
resp
=
templates
...
...
This diff is collapsed.
Click to expand it.
netlify.toml
+
1
−
1
View file @
8b65c19b
...
...
@@ -2,6 +2,6 @@
[build]
publish
=
"dist/aot/"
command
=
"cp -R src/res/ext functions/templates/json && cp -R src/res/ext functions/nehubaConfig/json && npm run build-aot"
command
=
"cp
deploy/util/* functions/nehubaConfig/ && cp
-R src/res/ext functions/templates/json && cp -R src/res/ext functions/nehubaConfig/json && npm run build-aot"
functions
=
"functions"
environment
=
{
BACKEND_URL
=
".netlify/functions/"
}
\ No newline at end of file
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