Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Metagenomics
metagenedb
Commits
0ee67a41
Commit
0ee67a41
authored
Aug 05, 2019
by
Kenzo-Hugo Hillion
♻
Browse files
fix backend urls
parent
06936bc6
Changes
2
Hide whitespace changes
Inline
Side-by-side
frontend/src/views/Genes.vue
View file @
0ee67a41
...
...
@@ -59,7 +59,7 @@ export default {
},
methods
:
{
fetchGenes
()
{
fetch
(
'
/catalog/
api
/genes/
'
,
{
fetch
(
'
/
api/
catalog/
v1
/genes/
'
,
{
method
:
'
GET
'
,
headers
:
{
Accept
:
'
application/json
'
,
...
...
@@ -68,7 +68,7 @@ export default {
.
then
((
response
)
=>
{
if
(
response
.
ok
)
{
response
.
json
().
then
((
json
)
=>
{
this
.
genes
=
json
.
data
;
this
.
genes
=
json
.
results
;
this
.
count
=
json
.
count
;
});
}
...
...
frontend/src/views/Stats.vue
View file @
0ee67a41
...
...
@@ -42,7 +42,7 @@ export default {
},
methods
:
{
fetchGeneLength
(
geneLengthWindowSize
)
{
fetch
(
'
/catalog/
api/
gene_length?window_size=
'
.
concat
(
geneLengthWindowSize
),
{
fetch
(
'
/
api/
catalog/gene_length?window_size=
'
.
concat
(
geneLengthWindowSize
),
{
method
:
'
GET
'
,
headers
:
{
Accept
:
'
application/json
'
,
...
...
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