Add a fetch tag dialog
This commit is contained in:
parent
c1d58bdd6c
commit
70aec00914
13 changed files with 258 additions and 2 deletions
|
@ -54,6 +54,10 @@ angular.module('quay').factory('Config', [function() {
|
|||
return config['PREFERRED_URL_SCHEME'] + '://' + auth + config['SERVER_HOSTNAME'];
|
||||
};
|
||||
|
||||
config.getHttp = function() {
|
||||
return config['PREFERRED_URL_SCHEME'];
|
||||
};
|
||||
|
||||
config.getUrl = function(opt_path) {
|
||||
var path = opt_path || '';
|
||||
return config['PREFERRED_URL_SCHEME'] + '://' + config['SERVER_HOSTNAME'] + path;
|
||||
|
|
Reference in a new issue