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) { ...@@ -433,7 +433,7 @@ module.exports = function (grunt) {
cwd: '<%= yeoman.app %>', cwd: '<%= yeoman.app %>',
dest: '<%= yeoman.dist %>', dest: '<%= yeoman.dist %>',
src: [ src: [
'*.{ico,png,txt}', '*.{ico,png,txt,json}',
'.htaccess', '.htaccess',
'{,*/}*.html', '{,*/}*.html',
'images/{,*/}*.{webp}', 'images/{,*/}*.{webp}',
......
This diff is collapsed.
...@@ -396,7 +396,9 @@ wsService.factory('dbXrefService', [ ...@@ -396,7 +396,9 @@ wsService.factory('dbXrefService', [
function ($http, $location) { function ($http, $location) {
return { return {
getDbXrefs: function () { 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) { getGenericLink: function (name, xrefs) {
var match = _.find(xrefs, function (xref) { 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