Commit 601521ba authored by Xavier Watkins's avatar Xavier Watkins
Browse files

Update xref file

parent f7a1603c
......@@ -433,7 +433,7 @@ module.exports = function (grunt) {
cwd: '<%= yeoman.app %>',
dest: '<%= yeoman.dist %>',
src: [
'*.{ico,png,txt}',
'*.{ico,png,txt,json}',
'.htaccess',
'{,*/}*.html',
'images/{,*/}*.{webp}',
......
This diff is collapsed.
......@@ -396,7 +396,9 @@ wsService.factory('dbXrefService', [
function ($http, $location) {
return {
getDbXrefs: function () {
return $http.get('https://s3.amazonaws.com/go-public/metadata/db-xrefs.json', {cache: true});
// Note: this file is overwritten nightly on the servers by an updated version
// we keep an old version in the repo as a fallback.
return $http.get('../../../db-xrefs.json', {cache: true});
},
getGenericLink: function (name, xrefs) {
var match = _.find(xrefs, function (xref) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment